modmore / VersionX

Resource & Element Versioning Extra for MODX Revolution (supports 2.2 and up). Extends the core in a future-proof manner to keep copies of every change to resources, templates, template variables, chunks, snippets and plugins.
https://modmore.com/extras/versionx/
40 stars 20 forks source link

Creating snapshots during installation a second time shows errors #135

Closed Mark-H closed 3 months ago

Mark-H commented 3 months ago
Iterating over Resources and storing snapshots..
Error creating snapshot for Resource 2
Error creating snapshot for Resource 3
Error creating snapshot for Resource 5
Error creating snapshot for Resource 6
Error creating snapshot for Resource 7

Seems to be due to DelteManager::createDelta retrieving the previous delta, not finding any changes, and returning null in line 157.