You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/10 11:36:44 UTC

[jira] Created: (MPJIRA-4) must contain an "id" attribute

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJIRA-4

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJIRA-4
    Summary: <issueTrackingUrl> must contain an "id" attribute
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jira-plugin
   Versions:
             1.1

   Assignee: Emmanuel Venisse
   Reporter: Paul Spencer

    Created: Sat, 10 Jul 2004 5:35 AM
    Updated: Sat, 10 Jul 2004 5:35 AM

Description:
Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
  http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
  http://nagoya.apache.org/jira/browse/JS2

When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  

Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true

BUILD FAILED
File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
Element... x:parse
Line...... 119
Column.... 48
Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
Total time: 4 seconds
Finished at: Sat Jul 10 05:31:54 EDT 2004

C:\cvs_apache\jakarta-jetspeed-2>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPJIRA-4) must contain an "id" attribute

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJIRA-4?page=all ]
     
fabrizio giustina closed MPJIRA-4:
----------------------------------

      Assign To: fabrizio giustina  (was: Emmanuel Venisse)
     Resolution: Fixed
    Fix Version: 1.2

Fixed by downloading the project page and extracting a project id from it

> <issueTrackingUrl> must contain an "id" attribute
> -------------------------------------------------
>
>          Key: MPJIRA-4
>          URL: http://jira.codehaus.org/browse/MPJIRA-4
>      Project: maven-jira-plugin
>         Type: Bug
>     Versions: 1.1
>     Reporter: Paul Spencer
>     Assignee: fabrizio giustina
>      Fix For: 1.2

>
>
> Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
>   http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
>   http://nagoya.apache.org/jira/browse/JS2
> When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  
> Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> BUILD FAILED
> File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
> Element... x:parse
> Line...... 119
> Column.... 48
> Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
> Total time: 4 seconds
> Finished at: Sat Jul 10 05:31:54 EDT 2004
> C:\cvs_apache\jakarta-jetspeed-2>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJIRA-4) must contain an "id" attribute

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Emmanuel Venisse
    Created: Tue, 24 Aug 2004 8:19 AM
       Body:
I don't know how to obtain the xml result with the id (like JS2). And you?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJIRA-4?page=comments#action_23381

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJIRA-4

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJIRA-4
    Summary: <issueTrackingUrl> must contain an "id" attribute
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jira-plugin
   Versions:
             1.1

   Assignee: Emmanuel Venisse
   Reporter: Paul Spencer

    Created: Sat, 10 Jul 2004 5:35 AM
    Updated: Tue, 24 Aug 2004 8:19 AM

Description:
Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
  http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
  http://nagoya.apache.org/jira/browse/JS2

When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  

Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true

BUILD FAILED
File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
Element... x:parse
Line...... 119
Column.... 48
Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
Total time: 4 seconds
Finished at: Sat Jul 10 05:31:54 EDT 2004

C:\cvs_apache\jakarta-jetspeed-2>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJIRA-4) must contain an "id" attribute

Posted by "Michael Franken (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJIRA-4?page=comments#action_43640 ] 

Michael Franken commented on MPJIRA-4:
--------------------------------------

you could simply fix this by checking the result of 

        String url = ((Project)getProject()).getIssueTrackingUrl();
        int pos = url.indexOf("?");
        String id = url.substring(pos + 4);

in JiraDownloader.java

make the id empty string if pos < 0

> <issueTrackingUrl> must contain an "id" attribute
> -------------------------------------------------
>
>          Key: MPJIRA-4
>          URL: http://jira.codehaus.org/browse/MPJIRA-4
>      Project: maven-jira-plugin
>         Type: Bug
>     Versions: 1.1
>     Reporter: Paul Spencer
>     Assignee: Emmanuel Venisse

>
>
> Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
>   http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
>   http://nagoya.apache.org/jira/browse/JS2
> When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  
> Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> BUILD FAILED
> File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
> Element... x:parse
> Line...... 119
> Column.... 48
> Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
> Total time: 4 seconds
> Finished at: Sat Jul 10 05:31:54 EDT 2004
> C:\cvs_apache\jakarta-jetspeed-2>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJIRA-4) must contain an "id" attribute

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJIRA-4?page=comments#action_44370 ] 

Carlos Sanchez commented on MPJIRA-4:
-------------------------------------

pid is empty now if the url doesn't contain an id.
TODO: fail the build in that case

> <issueTrackingUrl> must contain an "id" attribute
> -------------------------------------------------
>
>          Key: MPJIRA-4
>          URL: http://jira.codehaus.org/browse/MPJIRA-4
>      Project: maven-jira-plugin
>         Type: Bug
>     Versions: 1.1
>     Reporter: Paul Spencer
>     Assignee: Emmanuel Venisse

>
>
> Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
>   http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
>   http://nagoya.apache.org/jira/browse/JS2
> When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  
> Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
> BUILD FAILED
> File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
> Element... x:parse
> Line...... 119
> Column.... 48
> Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
> Total time: 4 seconds
> Finished at: Sat Jul 10 05:31:54 EDT 2004
> C:\cvs_apache\jakarta-jetspeed-2>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJIRA-4) must contain an "id" attribute

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Paul Spencer
    Created: Tue, 24 Aug 2004 12:05 PM
       Body:
I do not know how to know the answer either.  The folks at Jira should know the answer.


---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJIRA-4?page=comments#action_23391

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJIRA-4

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJIRA-4
    Summary: <issueTrackingUrl> must contain an "id" attribute
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jira-plugin
   Versions:
             1.1

   Assignee: Emmanuel Venisse
   Reporter: Paul Spencer

    Created: Sat, 10 Jul 2004 5:35 AM
    Updated: Tue, 24 Aug 2004 12:05 PM

Description:
Although the following URLs are equivelement, only the one containing the "id" attribute will work with the JIRA plugin.
  http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10492
  http://nagoya.apache.org/jira/browse/JS2

When using "http://nagoya.apache.org/jira/browse/JS2"  for the <issueTrackerUrl> the following error is received.  Notice the "pid" attribute on the url.  

Downloading http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true
Received: [404] for http://nagoya.apache.org/jira/browse/secure/IssueNavigator.jspa?view=rss&pid=p://nagoya.apache.org/jira/browse/JS2&sorter/field=issuekey&sorter/order=DESC&sorter/field=status&sorter/order=DESC&tempMax=1000&reset=true

BUILD FAILED
File...... c:\maven_repo\1.0-rc4\cache\maven-xdoc-plugin-1.7.2\plugin.jelly
Element... x:parse
Line...... 119
Column.... 48
Error on line 27 of document file:/C:/cvs_apache/jakarta-jetspeed-2/target/jira/jira-results.xml : The element type "link" must be terminated by the matching end-tag "</link>". Nested exception: The element type "link" must be terminated by the matching end-tag "</link>".
Total time: 4 seconds
Finished at: Sat Jul 10 05:31:54 EDT 2004

C:\cvs_apache\jakarta-jetspeed-2>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org