Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 18/Feb/15 11:36 AM
Description:

In the function jenkins.model.ModelObjectWithContextMenu.ContextMenu.add(Action a)
StaplerRequest .findAncestor(ModelObject.class).getUrl() is called, which as far as i see always returns a URL starting with "/". With this URL as argument Function.getActionUrl is called, which in case of a relative Url Name of Action a adds a "/" again, resulting in "//" so the URL in the ContextMenu does not work.

Environment: Jenkins 1.598, Windows 7, Chrome
Project: Jenkins
Priority: Minor Minor
Reporter: Markus Schwabeneder
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to