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

Converted content package is missing some .content.xml

    XMLWordPrintableJSON

Details

    Description

      kpauls, when trying to install the converted content package as attached to  SLING-10467 the import failed with ConstraintViolationException because the intermediate nodes for the demo-cp group and the regular user does no longer come with a .content.xml defining it's node type and jackrabbit fvault resorting to it's nt:folder default, which is not allowed by rep:AuthorizableFolder.

      In order to exclude the possibility that this is caused by the rep:policy node attached to the user/group folder nodes containing an ACE for one of the service users in the package, I created a slightly modified package that doesn't come with a AC policy at /home/groups/demo-cp (but still has one with /home/users/demo-cp).

      Running the converter however returned the same output:
      There is no longer exists a .content.xml file with neither the intermediate authorizable folder mentioned above. Not sure where that gets lost, but it looks like a bug to me (and will essentially prevent the converted content package from being installed).
      Am I missing something???

      Attachments

        1. demo-cp-no-su-ace-at-group-folder.zip
          16 kB
          Angela Schreiber
        2. demo-cp-no-su-ace-at-group-folder-0.0.0-cp2fm-converted.zip
          6 kB
          Angela Schreiber
        3. SLING-10468.patch
          4 kB
          Angela Schreiber

        Issue Links

          Activity

            People

              angela Angela Schreiber
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: