jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1200) allow SPI implementation to compute default values for autocreated properties
Date Thu, 22 Nov 2007 01:58:43 GMT

     [ https://issues.apache.org/jira/browse/JCR-1200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1200:
-------------------------------

    Fix Version/s: 1.4

> allow SPI implementation to compute default values for autocreated properties
> -----------------------------------------------------------------------------
>
>                 Key: JCR-1200
>                 URL: https://issues.apache.org/jira/browse/JCR-1200
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: JCR-1200.patch.txt
>
>
> Currently, when creating nodes in transient space, JCR2SPI uses hard-wired logic trying
to populate system generated properties such as jcr:created, jcr;uuid and so on.
> This is problematic as
> - it doesn't scale -- it fails for autocreated properties not known to JCR2SPI, and
> - the syntax for the defaults may be dependant on the back end, such as legal syntax
for (UU)IDs.
> Proposal:
> - extend QValueFactory with something like
>   QValue computeDefaultValue(QPropertyDefinition)
> - use that in JCR2SPI, getting rid of the currently hard-wired logic.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message