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/08/04 22:04:44 UTC
[jira] Created: (JCR-1706) Fix unexpected behavior of
Text.getName()
Fix unexpected behavior of Text.getName()
-----------------------------------------
Key: JCR-1706
URL: https://issues.apache.org/jira/browse/JCR-1706
Project: Jackrabbit
Issue Type: Bug
Components: jackrabbit-jcr-commons
Reporter: Tobias Bocanegra
Assignee: Tobias Bocanegra
Text.getName() and variants does return an empty string, if the given path is already a name. eg:
Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (JCR-1706) Fix unexpected behavior of
Text.getName()
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting reopened JCR-1706:
--------------------------------
Reopening, this change seems to have caused a regression in spi2jcr.
See http://hudson.zones.apache.org/hudson/job/Jackrabbit-trunk/142/
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 1.5
>
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (JCR-1706) Fix unexpected behavior of
Text.getName()
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra updated JCR-1706:
----------------------------------
Attachment: jcr1706.r682409.patch
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (JCR-1706) Fix unexpected behavior of
Text.getName()
Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619788#action_12619788 ]
Marcel Reutegger commented on JCR-1706:
---------------------------------------
+1
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1706) Fix unexpected behavior of
Text.getName()
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra resolved JCR-1706.
-----------------------------------
Resolution: Fixed
fixed again :-)
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 1.5
>
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (JCR-1706) Fix unexpected behavior of Text.getName()
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra closed JCR-1706.
---------------------------------
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 1.5
>
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JCR-1706) Fix unexpected behavior of
Text.getName()
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra resolved JCR-1706.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5
fixed as proposed.
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 1.5
>
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (JCR-1706) Fix unexpected behavior of Text.getName()
Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tobias Bocanegra closed JCR-1706.
---------------------------------
> Fix unexpected behavior of Text.getName()
> -----------------------------------------
>
> Key: JCR-1706
> URL: https://issues.apache.org/jira/browse/JCR-1706
> Project: Jackrabbit
> Issue Type: Bug
> Components: jackrabbit-jcr-commons
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 1.5
>
> Attachments: jcr1706.r682409.patch
>
>
> Text.getName() and variants does return an empty string, if the given path is already a name. eg:
> Text.getName("foo") returns "" and not "foo" as one would expect for relative paths.
> suggest to change this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.