[
https://issues.apache.org/jira/browse/JCR-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Reutegger updated JCR-2280:
----------------------------------
Attachment: JCR-2280.patch
Proposed changes.
> Lazy initialize ItemDefinition
> ------------------------------
>
> Key: JCR-2280
> URL: https://issues.apache.org/jira/browse/JCR-2280
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core
> Reporter: Marcel Reutegger
> Priority: Minor
> Attachments: JCR-2280.patch
>
>
> The item definition is currently set immediately when an ItemData is
> instantiated. Accessing nodes usually does not require reading the item
> definition, thus it is not necessary to load/set it that early.
> Lazy initialization also has the benefit that content migration in an upgrade
> scenario becomes easier. Instead of throwing an exception early, jackrabbit
> could allow access to the item until an item definition is really required
> for the operation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.