[Issue 3764] New - Instruction on /api page are inccorect

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 3764] New - Instruction on /api page are inccorect

ciaranj
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764
                 Issue #|3764
                 Summary|Instruction on /api page are inccorect
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|core
             Assigned to|issues@hudson
             Reported by|ciaranj






------- Additional comments from [hidden email] Tue May 26 16:22:59 +0000 2009 -------
Currently the instructions provided when browsing to http://<server>/hudson/api
for cloning an existing job are incorrect. The page suggests the following:

To copy a job, send a POST request to this URL with three query parameters
name=NEWJOBNAME&mode=copyJob&from=FROMJOBNAME

But the reality is this doesn't work with the current code (it throws anNPE) the
correct URL (from looking at the 1.306 code that I'm currently running) should be:

To copy a job, send a POST request to this URL with three query parameters
name=NEWJOBNAME&mode=copy&from=FROMJOBNAME

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3764] Instruction on /api page are inccorect

Alan Harder-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764



User mindless changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|issues@hudson             |mindless
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sat May 30 21:03:54 +0000 2009 -------
.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3764] Instruction on /api page are inccorect

scm_issue_link
In reply to this post by ciaranj
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764



User scm_issue_link changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
              Resolution|                          |FIXED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Sat May 30 21:11:11 +0000 2009 -------
Code changed in hudson
User: : mindless
Path:
 trunk/hudson/main/core/src/main/resources/hudson/model/Api/index.jelly
 trunk/hudson/main/core/src/main/resources/hudson/model/Hudson/_api.jelly
http://fisheye4.cenqua.com/changelog/hudson/?cs=18600
Log:
[FIXED HUDSON-3764] fix incorrect parameter listed on api page


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3764] Instruction on /api page are inccorect

Alan Harder-2
In reply to this post by ciaranj
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764






------- Additional comments from [hidden email] Sun Jun 14 16:23:08 +0000 2009 -------
*** Issue 3864 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3764] Instruction on /api page are inccorect

mdonohue
In reply to this post by ciaranj
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764






------- Additional comments from [hidden email] Tue Jun 30 04:10:18 +0000 2009 -------
*** Issue 3961 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 3764] Instruction on /api page are inccorect

Alan Harder-2
In reply to this post by ciaranj
https://hudson.dev.java.net/issues/show_bug.cgi?id=3764






------- Additional comments from [hidden email] Mon Jul  6 14:26:15 +0000 2009 -------
*** Issue 3961 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]