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

InitialContent depends on document.bundlor.BundlingConfigInitializer

    XMLWordPrintableJSON

Details

    Description

      chetanm, in the light of OAK-4975 a dependency to the document nodestore code got introduced in org.apache.jackrabbit.oak.plugins.nodetype.write.InitialContent by adding the following line:

              BundlingConfigInitializer.INSTANCE.initialize(builder);
      

      the BundlingConfigInitializer is defined in the org.apache.jackrabbit.oak.plugins.document.bundlor.

      To me that looks quite troublesome and I don't think the generic JCR-InitialContent should have any dependency on the document nodestore code base.

      Why not defining a dedicated RepositoryInitializer for that kind of init an making sure it is listed in the (default) setup scenarios (or at least in those that actually have a document store and thus require this)?

      Attachments

        1. OAK-5656.patch
          6 kB
          Marcel Reutegger
        2. OAK-5656.patch
          7 kB
          Marcel Reutegger

        Activity

          People

            mreutegg Marcel Reutegger
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: