U4-6519 - Cilicking 'Save and Publish' while the item is still loading causes data loss

Created by Vincent Baaij 14 Apr 2015, 13:00:03 Updated by Dallas Taylor 25 Oct 2017, 16:58:36

Relates to: U4-6742

This happens in a site in which we use 4 nuPicker XML PrefetchList Pickers in a content type. The pickers load and save their data asynchronously through the nuPicker api. When you start the edit action (by clicking an item in the tree), the 'Save and Publish' button is already clickable while the nuPicker data is still loading. If you click 'Save and Publish' as soon as the button is available, the nuPicker save actions (in this case 'updateRelationMapping') are called with an empty payload.

Comments

Mark Bowser 14 Jul 2015, 21:38:14

Looks like the same issue as http://issues.umbraco.org/issue/U4-4848.


Shannon Deminick 26 Jun 2017, 07:17:21

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Dallas Taylor 25 Oct 2017, 16:17:32

We have found that this is still an issue. With some nuPicker pickers that load slowly it is possible to quickly click Save/Publish and lose the picker values. The fix for U4-4848 addressed the built-in MNTP explicitly and was not a system level fix that solved the issue for other datatypes.

Based on the fix for the MNTP I suspect that this is a nuPicker issue and the fix needs to be made directly to nuPickers.

We are using nuPickers 1.7.0 and Umbraco 7.6.11.

Dallas


Dallas Taylor 25 Oct 2017, 16:58:36

We have created an issue in the nuPickers GitHub: https://github.com/uComponents/nuPickers/issues/179


Priority: Major

Type: Bug

State: Submitted

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.2.1, 7.3.1

Due in version:

Sprint:

Story Points:

Cycle: