Sample Data get installed
You get an error message:
“There is an error in a sample data plugin. Response is invalid.”
Local install under Laragon 6.0
Labels |
Added:
No Code Attached Yet
|
I can confirm this too on rc3
This should have a release blocker tag
Labels |
Added:
Release Blocker
|
When I remove these lines, the issue does not happen: https://github.com/joomla/joomla-cms/blob/6.0-dev/libraries/src/Versioning/VersionableModelTrait.php#L283-L289
And that seems to work because in the storeHistory
of the same trait, the fields are
@rdeutz Can it be that the mentioned lines are just a leftover after you have followed cyrez's change suggestion and moved that from the getSha1Hash
method to the storeHistory
method, where all stuff is properly checked and the sha1 hash is recalculated?
If leftover, we simply can remove the mentioned lines.
Confirmed
Caused by #46221 @rdeutz
joomla-cms/libraries/src/Versioning/VersionableModelTrait.php
Line 283 in afa8ceb