Robert Munteanu created SLING-7391:
--------------------------------------
Summary: Adding a namespaced property using the JCR properties
view should ensure the namespace is present in the file
Key: SLING-7391
URL: https://issues.apache.org/jira/browse/SLING-7391
Project: Sling
Issue Type: Improvement
Components: IDE
Reporter: Robert Munteanu
Fix For: Sling Eclipse IDE 1.2.0
( 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)