Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7136

Stop storing metatype.properties files under OSGI-INF/metatype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0, 1.10.0, 1.8.1
    • None
    • None

    Description

      We are still storing metatype.properties files under OSGI-INF/metatype, which is a spec violation. At the moment causes error log messages, e.g.

      06.12.2017 10:12:04.091 *ERROR* [qtp1614077867-67] org.apache.felix.metatype fromDocuments: Error accessing document bundle://94.1:0/OSGI-INF/metatype/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig.properties : XML parsing exception while reading metadata: unterminated entity ref (position:TEXT #Mon Dec 04 19:5...@2:202 in bundle://94.1:0/OSGI-INF/metatype/org.apache.jackrabbit.oak.security.authentication.ldap.impl.LdapProviderConfig.properties) 

      and is outright rejected by newer SCR tooling.

      We should move these files to OSGI-INF/l10n instead.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: