You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Shawn Jiang (JIRA)" <ju...@ws.apache.org> on 2011/09/10 17:58:09 UTC
[jira] [Created] (JUDDI-522)
org.apache.juddi.config.Install.getPublishers(Configuration) should check
if the entries in jar is started with basePath
org.apache.juddi.config.Install.getPublishers(Configuration) should check if the entries in jar is started with basePath
-------------------------------------------------------------------------------------------------------------------------
Key: JUDDI-522
URL: https://issues.apache.org/jira/browse/JUDDI-522
Project: jUDDI
Issue Type: Bug
Components: core
Affects Versions: 3.1.0
Reporter: Shawn Jiang
Assignee: Kurt T Stam
org.apache.juddi.config.Install.getPublishers(Configuration) only check if the entries in jar is ended with "_Publisher.xml" and to ahead to use
String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
to get the publisher.
It's not correct when the entry is not started with basePath. following check logic could fix this issue.
if (name.startsWith(basePath)&& name.endsWith(FILE_PUBLISHER)) {
xxxx
String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (JUDDI-522)
org.apache.juddi.config.Install.getPublishers(Configuration) should check
if the entries in jar is started with basePath
Posted by "Kurt T Stam (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kurt T Stam closed JUDDI-522.
-----------------------------
Resolution: Cannot Reproduce
Hi Shawn,
We support the use of one of two directories: 'juddi_install_data' or 'juddi_custom_install_data'. So the entry *always* needs to start with a 'basePath'.
Please reopen if I am not understanding the bug report correctly.
Thx,
--Kurt
> org.apache.juddi.config.Install.getPublishers(Configuration) should check if the entries in jar is started with basePath
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: JUDDI-522
> URL: https://issues.apache.org/jira/browse/JUDDI-522
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1.0
> Reporter: Shawn Jiang
> Assignee: Kurt T Stam
> Attachments: JUDDI-522.patch
>
>
> org.apache.juddi.config.Install.getPublishers(Configuration) only check if the entries in jar is ended with "_Publisher.xml" and to ahead to use
> String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
> to get the publisher.
> It's not correct when the entry is not started with basePath. following check logic could fix this issue.
> if (name.startsWith(basePath)&& name.endsWith(FILE_PUBLISHER)) {
> xxxx
> String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (JUDDI-522)
org.apache.juddi.config.Install.getPublishers(Configuration) should check
if the entries in jar is started with basePath
Posted by "Shawn Jiang (JIRA)" <ju...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/JUDDI-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang updated JUDDI-522:
------------------------------
Attachment: JUDDI-522.patch
> org.apache.juddi.config.Install.getPublishers(Configuration) should check if the entries in jar is started with basePath
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: JUDDI-522
> URL: https://issues.apache.org/jira/browse/JUDDI-522
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1.0
> Reporter: Shawn Jiang
> Assignee: Kurt T Stam
> Attachments: JUDDI-522.patch
>
>
> org.apache.juddi.config.Install.getPublishers(Configuration) only check if the entries in jar is ended with "_Publisher.xml" and to ahead to use
> String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
> to get the publisher.
> It's not correct when the entry is not started with basePath. following check logic could fix this issue.
> if (name.startsWith(basePath)&& name.endsWith(FILE_PUBLISHER)) {
> xxxx
> String publisher = name.substring(basePath.length(),name.indexOf(FILE_PUBLISHER));
> }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira