Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2155

Writing String (length > 4095 chars), reading Binary

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 3.7.1.Final
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      JBoss EAP 6.1.1

      Description

      When setting a property value to a String with more than 4095 characters, it is saved in the JCR tree as a PropertyType.BINARY. On a subsequent read, the Value will have type PropertyType.BINARY rather than PropertyType.STRING. I've tried saving in three different ways, results are the same. See https://github.com/vrolijken/ModeshapeStringStorage (JDK 1.7) for an example.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                friso_caci Friso V
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: