Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7100

New JCR nodebuilder API's addProperty operation doesn't accept Object

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5.6, 5.6
    • None
    • None
    • None
    • Basel 107, Basel 108, Basel 109
    • 2

      With MAGNOLIA-4183 the Content API based node builder API was migrated to JCR. Unfortunately the addProperty operation (see info.magnolia.jcr.nodebuilder.Ops#addProperty) was migrated correctly, in fact breaking original functionality:

      Previously it was possible to create any JCR property type, while with the new operation everything would be handled as String even though underlying logic remained the same.

      We should open up the method signature form String to Object. This is binary compatible as it's a static class and we're widening the signature.

        Acceptance criteria

              pmundt Philip Mundt
              pmundt Philip Mundt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD