You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/04/27 13:08:55 UTC
[jira] Created: (JCR-1556) PersistenceManager API change breacks
backward compatibility
PersistenceManager API change breacks backward compatibility
------------------------------------------------------------
Key: JCR-1556
URL: https://issues.apache.org/jira/browse/JCR-1556
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-core
Affects Versions: core 1.4.3
Reporter: Tobias Bocanegra
Persistence Manager API change introduced in JCR-1428 breaks backward compatibility. although this is not a public visible API it renders 3rd party PMs invalid that do not extend from AbstractPersistenceManager.
at least for the 1.4.3 patch release, we should not do this.
suggest to revert the API change for the next 1.4.4 release, but leave the method on the abstract pm, and introduce it only for 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1556) PersistenceManager API change breaks
backward compatibility
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-1556:
-------------------------------
Fix Version/s: core 1.4.4
Once svn works again, I plan to fix this simply by commenting out the method in the PersistenceManager interface:
Index: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/PersistenceManager.java
===================================================================
--- jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/PersistenceManager.java (revision 650539)
+++ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/persistence/PersistenceManager.java (working copy)
@@ -197,6 +197,8 @@
* repaired. if false, no data will be modified, instead all
* inconsistencies will only get logged
*/
- void checkConsistency(String[] uuids, boolean recursive, boolean fix);
+ // JCR-1556: This method will be introduced in 1.5
+ // If you need it before, cast to AbstractPersistenceManager
+ // void checkConsistency(String[] uuids, boolean recursive, boolean fix);
}
> PersistenceManager API change breaks backward compatibility
> -----------------------------------------------------------
>
> Key: JCR-1556
> URL: https://issues.apache.org/jira/browse/JCR-1556
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: core 1.4.3
> Reporter: Tobias Bocanegra
> Assignee: Jukka Zitting
> Fix For: core 1.4.4
>
>
> Persistence Manager API change introduced in JCR-1428 breaks backward compatibility. although this is not a public visible API it renders 3rd party PMs invalid that do not extend from AbstractPersistenceManager.
> at least for the 1.4.3 patch release, we should not do this.
> suggest to revert the API change for the next 1.4.4 release, but leave the method on the abstract pm, and introduce it only for 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1556) PersistenceManager API change breaks
backward compatibility
Posted by "David Nuescheler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Nuescheler updated JCR-1556:
----------------------------------
Summary: PersistenceManager API change breaks backward compatibility (was: PersistenceManager API change breacks backward compatibility)
> PersistenceManager API change breaks backward compatibility
> -----------------------------------------------------------
>
> Key: JCR-1556
> URL: https://issues.apache.org/jira/browse/JCR-1556
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: core 1.4.3
> Reporter: Tobias Bocanegra
>
> Persistence Manager API change introduced in JCR-1428 breaks backward compatibility. although this is not a public visible API it renders 3rd party PMs invalid that do not extend from AbstractPersistenceManager.
> at least for the 1.4.3 patch release, we should not do this.
> suggest to revert the API change for the next 1.4.4 release, but leave the method on the abstract pm, and introduce it only for 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1556) PersistenceManager API change breaks
backward compatibility
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594174#action_12594174 ]
Jukka Zitting commented on JCR-1556:
------------------------------------
Fixed as proposed in revision 653348 (1.4 branch only).
> PersistenceManager API change breaks backward compatibility
> -----------------------------------------------------------
>
> Key: JCR-1556
> URL: https://issues.apache.org/jira/browse/JCR-1556
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: core 1.4.3
> Reporter: Tobias Bocanegra
> Assignee: Jukka Zitting
> Fix For: core 1.4.4
>
>
> Persistence Manager API change introduced in JCR-1428 breaks backward compatibility. although this is not a public visible API it renders 3rd party PMs invalid that do not extend from AbstractPersistenceManager.
> at least for the 1.4.3 patch release, we should not do this.
> suggest to revert the API change for the next 1.4.4 release, but leave the method on the abstract pm, and introduce it only for 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1556) PersistenceManager API change breaks
backward compatibility
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved JCR-1556.
--------------------------------
Resolution: Fixed
> PersistenceManager API change breaks backward compatibility
> -----------------------------------------------------------
>
> Key: JCR-1556
> URL: https://issues.apache.org/jira/browse/JCR-1556
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-core
> Affects Versions: core 1.4.3
> Reporter: Tobias Bocanegra
> Assignee: Jukka Zitting
> Fix For: core 1.4.4
>
>
> Persistence Manager API change introduced in JCR-1428 breaks backward compatibility. although this is not a public visible API it renders 3rd party PMs invalid that do not extend from AbstractPersistenceManager.
> at least for the 1.4.3 patch release, we should not do this.
> suggest to revert the API change for the next 1.4.4 release, but leave the method on the abstract pm, and introduce it only for 1.5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.