Replies: 3 comments 4 replies
-
|
Thanks for the feedback. It would be great to get to the bottom of why the content changes were lost—that should definitely not ever happen. If you’re able to share your database and Composer files and point us to the entry where this occurred, we can try to look into it. |
Beta Was this translation helpful? Give feedback.
-
|
@tomkiss Was this a "real" draft, or a provisional draft (aka "unsaved changes")? If the latter, can you find any messages like "Overwriting an existing provisional draft" in your web.log file for the date in question? Reason I ask is because we just had something very similar to what you're describing reported today, involving provisional drafts. Currently looking for a way to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, sorry for delay in replying. I asked the author to write down an account of what happened, and she said:
I should note that step one is clicking the "New entry" button in the entries listing. Side note: would that button be somewhat more accurate if it were labelled "New draft"? Because it's not going to create a full entry (though in the past, it used to?). Though now I think of it, there are plenty of other places in the UI where it refers to an entry but means draft (save as new The reference to "formatting being applied to entire document" was the result of all the article content being pasted in with a single Unfortunately I don't have a database backup with the draft in question and I don't know which of the subsequent backups have any relevant data, if any. Because of this I did some poking around to see if I could create some sort of problem in this area. And I did discover something, I think... Saving.draft.with.validation.mp4So, in this example, the entry type includes a required field. If it is a draft, then it can be saved because validation does not occur. However, when it is "created" as an entry, then validation will occur and the submission will fail. Locally, as in this screencap, the connection is pretty fast so its not a problem that is likely to occur. But on production servers the time it takes for a draft to save after edits can be much longer, and so its easier to see changes lost in this way. Side note: the button in the preview says "Save", but it doesn't mean that in this context. It should imo say "Save draft", and perform that action, but what it means is "Create entry", hence the validation. I don't know if this is related to the issue that originally occured. But the behaviour seems similar. It's also interesting that the original issue occurred moving between the main edit view and preview view; which afaia don't talk to each other (both make network calls to load their content). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
This is really product feedback, I hope this is the right place for it -
Today an editor had their content wiped out whilst editing their Draft.
I don't really know why. The draft was created by an initial copy/paste action of an article outline. Then, a lot of time was spent refining the article, adding content and so forth. They later hit the "preview" button, and the entire document reverted to the original copy/pasted content.
This is not the first time this sort of thing has happened, but it leaves me having to teach editors not to use the Drafts functionality at all. Which seems like a bad thing?
Due to its lack of versioning its a high-risk feature to use. IMO versioning is basically critical functionality for any document editor (I'm trying to think of a document state whereby a google doc or pages doc couldn't be undone/reverted?).
I never use drafts myself (tbh I've never been quite sure as to their purpose?) But then, I suppose I consider an unpublished entry as a draft of sorts. Although a caveat should be that despite using Craft CMS since the beginning, I find drafts and revisions functionality immensely confusing (I would add, to expand on that a tiny bit: It feels like the underlying technical aspects of these features are negatively impacting the UX). Anyway, rambling - I just wanted to share these experiences as there is has been a sizeable amount of time lost with work due to this, and it causes a lot of frustration when it happens.
Beta Was this translation helpful? Give feedback.
All reactions