[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-23 Thread Manfred Baedke (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508984#comment-14508984
 ] 

Manfred Baedke commented on OAK-2803:
-

[~jsedding]'s test case committed to trunk with r1675593.

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.3.0, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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


[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-23 Thread Manfred Baedke (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508947#comment-14508947
 ] 

Manfred Baedke commented on OAK-2803:
-

Very convenient [~jsedding], thanks a lot.

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.3.0, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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


[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-23 Thread Julian Sedding (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14508614#comment-14508614
 ] 

Julian Sedding commented on OAK-2803:
-

[~baedke], the patch of duplicate issue OAK-2573 contains a test case. I think 
it would be worth while including the test.

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.3.0, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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


[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-22 Thread Manfred Baedke (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507506#comment-14507506
 ] 

Manfred Baedke commented on OAK-2803:
-

Certainly [~mmarth], it's just so confusing that trunk is on 1.4-SNAPSHOT.

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1, 1.4
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.4, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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


[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-22 Thread Michael Marth (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507417#comment-14507417
 ] 

Michael Marth commented on OAK-2803:


[~baedke], this seems fixed in trunk - I believe the fixVersion should be 1.3.0 
rather than 1.4 then (?)

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1, 1.4
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.4, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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


[jira] [Commented] (OAK-2803) RepositoryUpgrade.copy() doesn't create correct templates for residual item definitions

2015-04-22 Thread Manfred Baedke (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507034#comment-14507034
 ] 

Manfred Baedke commented on OAK-2803:
-

Fixed in 1.4-SNAPSHOT with r1675354.
Merged into 1.2.2-SNAPSHOT with r1675356

> RepositoryUpgrade.copy() doesn't create correct templates for residual item 
> definitions
> ---
>
> Key: OAK-2803
> URL: https://issues.apache.org/jira/browse/OAK-2803
> Project: Jackrabbit Oak
>  Issue Type: Bug
>  Components: upgrade
>Affects Versions: 1.2.1, 1.4
>Reporter: Manfred Baedke
>Assignee: Manfred Baedke
> Fix For: 1.4, 1.2.2
>
>
> Since OAK-2454 RepositoryUpgrade.copy() uses the NodeTypeManager to register 
> node types, but does not properly set the name "*" for residual child 
> definition templates, causing a NullPointerException at runtime.



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