You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2009/03/24 15:43:51 UTC
[jira] Created: (JCR-2039) Add log information when node/property
type determination fails
Add log information when node/property type determination fails
---------------------------------------------------------------
Key: JCR-2039
URL: https://issues.apache.org/jira/browse/JCR-2039
Project: Jackrabbit Content Repository
Issue Type: Improvement
Components: jackrabbit-jcr2spi
Reporter: Michael Dürig
getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig reassigned JCR-2039:
----------------------------------
Assignee: Michael Dürig
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig reopened JCR-2039:
--------------------------------
Reopening for 1.5.0
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.5.0
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.5.5, 1.6.0
>
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated JCR-2039:
-------------------------------
Affects Version/s: 1.5.0
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.5.0
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.5.5, 1.6.0
>
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig updated JCR-2039:
-------------------------------
Attachment: JCR-2039.patch
Proposed patch.
The patch logs the exception which causes the RepositoryService methods to be called at debug level. Any exception from the RepositoryService methods is logged at error level and re-thrown.
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Reporter: Michael Dürig
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved JCR-2039.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.5
Fixed at revision 766769
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.5.0
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.5.5, 1.6.0
>
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved JCR-2039.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed at revision: 760479
applied the patch
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.6.0
>
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-2039) Add log information when node/property
type determination fails
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated JCR-2039:
-------------------------------
Fix Version/s: (was: 1.6.0)
> Add log information when node/property type determination fails
> ---------------------------------------------------------------
>
> Key: JCR-2039
> URL: https://issues.apache.org/jira/browse/JCR-2039
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-jcr2spi
> Affects Versions: 1.5.0
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Fix For: 1.5.5
>
> Attachments: JCR-2039.patch
>
>
> getQNodeDefinition() and getQPropertyDefinition() of o.a.j.jcr2spi.nodetype.ItemDefinitionProviderImpl silently ignore errors which might occur on determination of node and property types. Instead these methods use RepositoryService.getNodeDefinition() and RepositoryService.getPropertyDefinition(), respectively to determine the types. This might lead to difficult to track down problems when the RepositoryService call occurs because of an error in the node type definition. I suggest to add logging statements to these methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.