jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (OAK-4325) Autocreation of properties fails if user id is null
Date Mon, 16 May 2016 13:58:18 GMT

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

Davide Giannella closed OAK-4325.
---------------------------------

Bulk close for 1.5.2

> Autocreation of properties fails if user id is null
> ---------------------------------------------------
>
>                 Key: OAK-4325
>                 URL: https://issues.apache.org/jira/browse/OAK-4325
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>            Reporter: angela
>             Fix For: 1.5.2
>
>
> The currently implementation of {{TreeUtil.autoCreateItems}} will fail with {{RepositoryException}}
if any of the autocreated properties could not be created. This is currently the case if the
editing session doesn't have a userID set, which is a valid scenario.
> IMO the following autocreated properties should always be created and using an empty
value if there is a null userID passed to the call:
> - jcr:createdBy
> - jcr:lastModifiedBy



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message