You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "John Tinetti (JIRA)" <ji...@apache.org> on 2010/09/23 21:28:33 UTC
[jira] Created: (IVY-1232) Some repositories broken by IVY-1175
Some repositories broken by IVY-1175
------------------------------------
Key: IVY-1232
URL: https://issues.apache.org/jira/browse/IVY-1232
Project: Ivy
Issue Type: Bug
Components: Core
Affects Versions: 2.2.0-RC1
Reporter: John Tinetti
Priority: Blocker
ApacheURLLister.retrieveListing() was changed for IVY-1175. The method now handles hrefs with text value ending in "..>" by treating those text values as truncated, which may be correct behavior. However, the method should also handle hrefs with text value ending in "..>" and handle those as truncated as well, since ">" is the preferred html syntax.
Here is the patch:
165a166,170
> } else if (text.endsWith("..>")) {
> // text is probably truncated, we can only check if the href starts with text
> if (!href.startsWith(text.substring(0, text.length() - 6))) {
> continue;
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-1232) Some repositories broken by IVY-1175
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-1232:
-------------------------------
Original Estimate: (was: 1h)
Remaining Estimate: (was: 1h)
Assignee: Maarten Coene
Description:
ApacheURLLister.retrieveListing() was changed for IVY-1175. The method now handles hrefs with text value ending in "..>" by treating those text values as truncated, which may be correct behavior. However, the method should also handle hrefs with text value ending in "..>" and handle those as truncated as well, since > is the preferred html syntax.
Here is the patch:
{noformat}
165a166,170
> } else if (text.endsWith("..>")) {
> // text is probably truncated, we can only check if the href starts with text
> if (!href.startsWith(text.substring(0, text.length() - 6))) {
> continue;
> }
{noformat}
was:
ApacheURLLister.retrieveListing() was changed for IVY-1175. The method now handles hrefs with text value ending in "..>" by treating those text values as truncated, which may be correct behavior. However, the method should also handle hrefs with text value ending in "..>" and handle those as truncated as well, since ">" is the preferred html syntax.
Here is the patch:
165a166,170
> } else if (text.endsWith("..>")) {
> // text is probably truncated, we can only check if the href starts with text
> if (!href.startsWith(text.substring(0, text.length() - 6))) {
> continue;
> }
> Some repositories broken by IVY-1175
> ------------------------------------
>
> Key: IVY-1232
> URL: https://issues.apache.org/jira/browse/IVY-1232
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0-RC1
> Reporter: John Tinetti
> Assignee: Maarten Coene
> Priority: Blocker
>
> ApacheURLLister.retrieveListing() was changed for IVY-1175. The method now handles hrefs with text value ending in "..>" by treating those text values as truncated, which may be correct behavior. However, the method should also handle hrefs with text value ending in "..>" and handle those as truncated as well, since > is the preferred html syntax.
> Here is the patch:
> {noformat}
> 165a166,170
> > } else if (text.endsWith("..>")) {
> > // text is probably truncated, we can only check if the href starts with text
> > if (!href.startsWith(text.substring(0, text.length() - 6))) {
> > continue;
> > }
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-1232) Some repositories broken by IVY-1175
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-1232.
--------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
Your patch has been applied in SVN.
Thanks a lot for the contribution!
> Some repositories broken by IVY-1175
> ------------------------------------
>
> Key: IVY-1232
> URL: https://issues.apache.org/jira/browse/IVY-1232
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.2.0-RC1
> Reporter: John Tinetti
> Assignee: Maarten Coene
> Priority: Blocker
> Fix For: 2.2.0
>
>
> ApacheURLLister.retrieveListing() was changed for IVY-1175. The method now handles hrefs with text value ending in "..>" by treating those text values as truncated, which may be correct behavior. However, the method should also handle hrefs with text value ending in "..>" and handle those as truncated as well, since > is the preferred html syntax.
> Here is the patch:
> {noformat}
> 165a166,170
> > } else if (text.endsWith("..>")) {
> > // text is probably truncated, we can only check if the href starts with text
> > if (!href.startsWith(text.substring(0, text.length() - 6))) {
> > continue;
> > }
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.