![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
4.x |
|
Assignee:
|
Unassigned |
|
Components:
|
Navigator |
|
Created:
|
14/Jan/13 3:23 AM
|
|
Description:
|
Hello !
I'm using the navigator report view and I just tried with stories containing special characters in their name like : my-story#1
I have a problem here with the "#" char that have to be converted to %23 in the story path for links to work properly.
The changes I had to do :
xref.json :
- change xref.stories.story.path with # to %23
navigator.html :
- change from ng-click="showStory(performable.story.path)" to ng-click="showStory(performable.story.path, performable.story.name)"
- change from <td>performable.story.path</td> to <td>performable.story.name</td>
angular-controllers.js :
- change to $scope.showStory = function(storyPath, storyName) {
- change to title: storyName,
This is really quick fix from my side, I don't know if there are impacts elsewhere.
There may be other char that need to be url encoded.
Thanks for your interest !
|
|
Project:
|
JBehave
|
|
Priority:
|
Major
|
|
Reporter:
|
Damien LG
|
|
|
|
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
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email