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

JCR Installer writeback - primitive array types get lower case prefix , convert primitive arrays to Object arrays

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • JCR Installer 3.1.26
    • None
    • Installer
    • None

    Description

      When we put a upper case prefix in our config in the repo and then change it via the webconsole it gets the prefix converted into a lower case. This creates issues as Sling only support uppercase prefixes.

      As the writeback just uses some class from Felix to write the file back (that will write a lower case for primitive arrays and an upper case for Object arrays) the fix should be reasonable straight forward by just massaging the configurations before writing them out via that class and turning all primitive arrays into their respective Object array in updatehandler.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ashokpanghal Ashok Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m

                Slack

                  Issue deployment