Umbraco-CMS icon indicating copy to clipboard operation
Umbraco-CMS copied to clipboard

Infinite Editor creates each save action a new version of content when content is invalid

Open ealse opened this issue 2 years ago • 1 comments

Which exact Umbraco version are you using? For example: 9.0.1 - don't just write v9

10.0.1

Bug summary

When the Infinite Editor is used and the save button is clicked while the content is not valid there is a content item saved. Each time the user is clicking on the save button the content is saved with a new ID.

I'm not quite sure if the save action shouldn't happen at all like a save and publish. But the double nodes are not good in any case.

Specifics

https://user-images.githubusercontent.com/50272817/179773073-9cf392c7-31c0-47fc-a733-1e1a4d83543d.mp4

Steps to reproduce

  • Create a clean Umbraco install following the guide (https://our.umbraco.com/documentation/Fundamentals/Setup/Install/)
  • Create a documenttype with a listview that has enabled the Infinite Editor and add a new documenttype below it.
  • Create in the Content section a new listview item.
  • And click as many times you want on the save button.

Expected result / actual result

No double items or no items at all.

ealse avatar Jul 19 '22 14:07 ealse

Hi there @ealse!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot :robot: :slightly_smiling_face:

github-actions[bot] avatar Jul 19 '22 14:07 github-actions[bot]

Fixed in https://github.com/umbraco/Umbraco-CMS/pull/12874

nul800sebastiaan avatar Mar 27 '23 09:03 nul800sebastiaan

Umbraco 12.3.3.

Getting same issue in listview when "Infinite Editor" are enabled:

Umbraco save page error

Works fine if I hit "Save", then "Close" and open the node again.

thomashdk avatar Dec 07 '23 11:12 thomashdk