Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7391

Adding a namespaced property using the JCR properties view should ensure the namespace is declared in the underlying docview file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Sling Eclipse IDE 2.0.0
    • IDE
    • None

    Description

      ( initially reported at https://github.com/Adobe-Marketing-Cloud/aem-eclipse-developer-tools/issues/81 )

      Whenever adding a property using the JCR properties view we should make sure the namespace is declared in the xml file. We can start by adding a few well-known prefixes, but most likely we need to infer the known namespaces from the server. This will not work properly in case the server is not connected, so in that scenario (or when the namespace is not known probably) we should report an error to the user and refuse to perform the update. We should also direct the user to edit the file directly as an alternative.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: