Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
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.