Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11586

ModeShape Tools JCR CND Editor Deletes Comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.Beta3
    • 3.3.0.Beta3
    • modeshape
    • None
    • Hide
      CND Editor now supports comments. Comments can be associated with either a namespace mapping, node type definition, property definition, or a child node definition. A *.cnd file being edited for the first time using the CND Editor will have all existing comments assigned to an appropriate previously mentioned CND element type.
      Show
      CND Editor now supports comments. Comments can be associated with either a namespace mapping, node type definition, property definition, or a child node definition. A *.cnd file being edited for the first time using the CND Editor will have all existing comments assigned to an appropriate previously mentioned CND element type.

    Description

      All comments are thrown out by the CndImporter when a *.cnd file is parsed. The CndImporter class was copied over from the ModeShape project and ModeShape does not need or use comments. Also, the CND Editor currently does not support editing or creating comments.

      At a minimum, the original comments should be saved and written back out when the CND editor is saved. Ultimately, the CND Editor should support comments. Each comment should be related to the CND itself or to another CND element like a node type definition, property definition, of child node definition. When the related CND element is deleted, the comment should also be deleted.

      Attachments

        Activity

          People

            dflorian@redhat.com Daniel Florian (Inactive)
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: