Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a / in a Goal name #240

Closed
D-Dev opened this issue Apr 30, 2018 · 2 comments
Closed

Using a / in a Goal name #240

D-Dev opened this issue Apr 30, 2018 · 2 comments

Comments

@D-Dev
Copy link
Contributor

D-Dev commented Apr 30, 2018

Expected ? Actualbehaviour

Having used a / in a Goal name, when I go to the list of goals and select this example to edit it, the next information screen does not generate/open as expected. Selecting any other Goal continues to work as expected. No error appears in the terminal though.

Steps to reproduce the behaviour

Version of CAIRIS

Current

Operating Systems / Hardware

Win7 - VMw - Linux Ub17 - Chrome

failys added a commit that referenced this issue May 1, 2018
@failys
Copy link
Collaborator

failys commented May 1, 2018

The problem is that, when retrieving stored goals (and any other object), the object name is included in the API call, i.e. /api/goals/name/goalname. Consequently, adding the / (even when encoded) leads to a different API path.

I've updated the UI to forbid the addition of 'reserved characters' to object names. I've also updated the documentation to indicate this: https://cairis.readthedocs.io/en/latest/reserved.html

@failys failys closed this as completed May 1, 2018
@D-Dev
Copy link
Contributor Author

D-Dev commented May 1, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants