[dna-issues] [JBoss JIRA] Updated: (DNA-353) JcrSession.exportSystemView Does Not Handle skipBinary = true Properly

Brian Carothers (JIRA) jira-events at lists.jboss.org
Tue Apr 14 21:48:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/DNA-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Carothers updated DNA-353:
--------------------------------

    Attachment: DNA-353.patch


Added patch that corrects behavior of exportSystemView.  This gets tested in the TCK SerializationTest

> JcrSession.exportSystemView Does Not Handle skipBinary = true Properly
> ----------------------------------------------------------------------
>
>                 Key: DNA-353
>                 URL: https://jira.jboss.org/jira/browse/DNA-353
>             Project: DNA
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: 0.3
>            Reporter: Brian Carothers
>            Priority: Minor
>         Attachments: DNA-353.patch
>
>
> Per 1.0.1 specification, exportSystemView is supposed to handle the skipBinary property like this: "If skipBinary is true then any properties of PropertyType.BINARY will be serialized as if they are empty. That is, the existence of the property will be serialized, but its content will not appear in the serialized output (the <sv:value> element will have no content). Note that in the case of multi-value BINARY properties, the number of values in the property will be reflected in the serialized output, though they will all be empty."
> JcrSession.exportSystemView currently omits all reference to binary properties if skipBinary is true.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the dna-issues mailing list