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

url function of Entity returns undefined for "showView" and "deleteView" #1357

Open
ashwanikumar415 opened this issue Aug 1, 2017 · 0 comments

Comments

@ashwanikumar415
Copy link

ashwanikumar415 commented Aug 1, 2017

Description

The Description mentioned over "Entity Configuration" page for url() (https://github.com/marmelab/ng-admin/blob/master/doc/reference/Entity.md) doesnt work
"entityName" argument returned is undefined for showView and deletionView.
Note: Correct value is returned only in editionView

Steps to Reproduce

plunkr : http://plnkr.co/edit/ivjRaAK8S0bMQYOv9XOi?p=preview

  1. Clear logs in console window and run plunkr
  2. Select users from leftMenu
  3. click on "show", "edit" and "delete"
  4. Observe logs : apart from editionView , show and deletionView returns undefined

Expected behavior:
entityName from deletionView: 1
entityName from showView: 1
entityName from editionView: 1

Actual behavior:
entityName from deletionView: undefined
entityName from showView: undefined
entityName from editionView: 1

@ashwanikumar415 ashwanikumar415 changed the title return argument of callback url function of Entity returns undefined for "showView" and "deleteView". Return argument of callback url function of Entity returns undefined for "showView" and "deleteView". Aug 1, 2017
@ashwanikumar415 ashwanikumar415 changed the title Return argument of callback url function of Entity returns undefined for "showView" and "deleteView". url function of Entity returns undefined for "showView" and "deleteView" Aug 1, 2017
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