statamic / v2-hub

Statamic 2 - Feature Requests and Bug Reports
https://statamic.com
95 stars 5 forks source link

Entries are not saved #2455

Closed rcknr closed 4 years ago

rcknr commented 4 years ago

Describe the bug Out of the sudden any collection entry change is no longer persisted. I've checked permissions, logs. There's no error message.

To Reproduce Have no clue.

Expected behavior Obviously, saving data, however, an error message would be great to have a clue what's happening.

Environment details (please complete the following information):

Additional context The same project seem to work fine in a production environment (saves entries properly).

rcknr commented 4 years ago

More details: collections could be renamed, entries could be deleted, however, editing, duplicating and creating new ones does not work. The issue disappears once downgraded to 2.11.14 and comes back once updated to 2.11.15...

rcknr commented 4 years ago

I am overwhelmed with the response to my issue report! In any case, I was able to sort my problem out. The culprit was enabling event module in Debugbar in combination with this bit from statamic/core/Data/Content/Content.php:

// If any listener responses return null, the content shouldn't be saved.
if (in_array(null, $responses, true)) {
    return $this;
}

Should I say it's extremely frustrating when there's no feedback for this?

jasonvarga commented 4 years ago

Hi! Sorry for the lack of response.

Unfortunately I can't replicate this issue. Any more details would be helpful if this is still a problem for you.