You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Created) (JIRA)" <ji...@apache.org> on 2012/01/04 15:00:41 UTC
[jira] [Created] (JCR-3199) workspace-wide default for lock timeout
workspace-wide default for lock timeout
---------------------------------------
Key: JCR-3199
URL: https://issues.apache.org/jira/browse/JCR-3199
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-core, locks
Reporter: Julian Reschke
Assignee: Julian Reschke
There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JCR-3199) workspace-wide default for lock
timeout
Posted by "angela (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185653#comment-13185653 ]
angela commented on JCR-3199:
-----------------------------
> dunno about how we version the DTD
they are listed in /jackrabbit-core/src/main/resources/org/apache/jackrabbit/core/config.
if i remember correctly it should be sufficient to add the additional elements there. since
the latest version is 2.4 i don't think you have to create a new version.
> do we need to maintain the previous 2 variants of the WorkspaceConfig constructor
not sure... i tend to be overly careful with such removals. but in any case we need to adjust the CRX specific overlay.
> workspace-wide default for lock timeout
> ---------------------------------------
>
> Key: JCR-3199
> URL: https://issues.apache.org/jira/browse/JCR-3199
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, locks
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Attachments: JCR-3199.diff
>
>
> There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (JCR-3199) workspace-wide default for lock timeout
Posted by "Julian Reschke (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke updated JCR-3199:
--------------------------------
Attachment: JCR-3199.diff
Proposed patch.
- adds a defaultLockTimeout attribute to the Workspace element
- parses it into WorkspaceConfig
- uses it in NodeImpl.lock()
Q:
- dunno about how we version the DTD
- do we need to maintain the previous 2 variants of the WorkspaceConfig constructor
> workspace-wide default for lock timeout
> ---------------------------------------
>
> Key: JCR-3199
> URL: https://issues.apache.org/jira/browse/JCR-3199
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, locks
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Attachments: JCR-3199.diff
>
>
> There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (JCR-3199) workspace-wide default for lock
timeout
Posted by "Julian Reschke (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Reschke resolved JCR-3199.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.5
> workspace-wide default for lock timeout
> ---------------------------------------
>
> Key: JCR-3199
> URL: https://issues.apache.org/jira/browse/JCR-3199
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, locks
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Fix For: 2.5
>
> Attachments: JCR-3199.diff
>
>
> There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (JCR-3199) workspace-wide default for lock
timeout
Posted by "angela (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185655#comment-13185655 ]
angela commented on JCR-3199:
-----------------------------
... and the patch looks good
> workspace-wide default for lock timeout
> ---------------------------------------
>
> Key: JCR-3199
> URL: https://issues.apache.org/jira/browse/JCR-3199
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, locks
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Attachments: JCR-3199.diff
>
>
> There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (JCR-3199) workspace-wide default for lock timeout
Posted by "Jukka Zitting (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-3199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-3199:
-------------------------------
Fix Version/s: (was: 2.5)
2.4
Merged to the 2.4 branch in revision 1232546.
> workspace-wide default for lock timeout
> ---------------------------------------
>
> Key: JCR-3199
> URL: https://issues.apache.org/jira/browse/JCR-3199
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-core, locks
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Fix For: 2.4
>
> Attachments: JCR-3199.diff
>
>
> There should be a way to define a workspace-wide default for JCR lock timeouts (in case the code creating the lock did not specify one).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira