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

Wrong url mapping in scaffolding #31

Open
demon101 opened this issue Mar 4, 2016 · 0 comments
Open

Wrong url mapping in scaffolding #31

demon101 opened this issue Mar 4, 2016 · 0 comments

Comments

@demon101
Copy link

demon101 commented Mar 4, 2016

For custom url mapping where is wrong urls for create/edit forms on edit page

For example AdminController for domain Tag has in UrlMapping:
"/admin/someUrl/$action?/$id?" (controller:"admin")
On page http://localhost:8080/app/admin/someUrl/show/2
Where are url:

http://localhost:8080/app/admin/someUrl/index
http://localhost:8080/app/admin/someUrl/create

but for edit and delete it's wrong

http://localhost:8080/app/tag/edit/2
http://localhost:8080/app/tag/delete/2

On show page where is no controller attribute for g:link tags.

The bug exist in grails 2.4.6, 2.5.3, 3.1.3

https://jira.grails.org/browse/GPSCAFFOLD-86

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

1 participant