[ https://issues.apache.org/jira/browse/JCR-2371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated JCR-2371: ------------------------ Attachment: JCR-2371.patch i think this problem is caused by BundleBinding#readPropertyEntry that creates InternalValues without indicating if the reference is weak or not. i would be glad if someone can quickly review that and confirm that this solves the problem. in my CRX test (see steps how i could reproduce the problem above) this seemed to work. > Core: WEAKREFERENCE properties object have type REFERENCE when being read > from the persistent layer > --------------------------------------------------------------------------------------------------- > > Key: JCR-2371 > URL: https://issues.apache.org/jira/browse/JCR-2371 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Reporter: angela > Attachments: JCR-2371.patch > > > it seems to me that WEAKREFERENCE properties are properly created and stored > as such but are read as REFERENCE > properties when built again from the persistent layer. > how to reproduce: > - create a new WEAKREFERENCE property and save the changes > - force reading from the persistent layer (in my case I used Day's CRX and > restartet the server) > - the former WEAKREFERENCE will now be displayed as REFERENCE. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.