-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Edit in Infinite Editor of Edit in Infinite Editor - "Create Button" creates wrong #13355
Comments
Hey @croban, thanks for reporting! Would you mind sharing your custom list view so I can use it when testing this out 😁 |
@Zeegaan I'm sorry I don't have the custom list anymore, I have turned them off, because of the issue. They are easy to create because they only have had enabled infinity editor. |
Thanks for reporting this issue @croban, 💪 I managed to replicate the problem. Here is a little video of me reproducing the bug and testing out a different scenario (custom listview without enabling "Edit in Infinite Editor"). List_view_infinite_editing.mp4(Quick) Investigation + notes:Seems like when enabling the "Edit in Infinite Editor": the response from calling
I didn't have time to investigate further but I will mark it as up-for-grabs and perhaps someone from the community has a potential fix 😊 |
See also more details in #13652 (duplicate of this issue) |
I also raised the same issue here #13652 . The video is here While I checking the issue, what I understood is In the API call, it's passing the wrong Id
Debugging in umbraco.controller.js In umbraco.controller.js ,there is a function called initview(), it's taking the id from the route params, so $routeParams.id is considering the first opened content, and the second content(has childs as listview) we open as Infinite Editor, so the Id won't change because the params are not changed in the URL($routeParams), when we disable the infinite editor option, then it will work, because of the URL change! ($routeParams). I am not sure if this is the correct finding! , maybe some relation is there :) , but the weird issue is, by using the wrong button(showing the wrong doctype) we can create the wrong content :(, even if we are not allowed as a child! |
Fixed in #17637 and expected for release in 13.7. |
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
10.2.1 to 10.3.2
Bug summary
I have following document types with permissions as below: with enable list view where the last doctype is a leaf
when navigating through the levels on the seconddoctype the button for creating child doctype showing "Create seconddoctype" where must be "Create thirddoctype".
without infinite editor everything works
Specifics
No response
Steps to reproduce
Create this document types with permision as in ul, create custom listview with enabled infinite editor
within content create the same structure try to create "thirddoctype" on the "seconddoctype"
try to create thirddoctype content on the secondoctype level.
Expected result / actual result
No response
The text was updated successfully, but these errors were encountered: