punktDe / editconflictprevention

Prevents edit conflicts when multiple editors are working on the site by either warn the user or deny editing.
MIT License
14 stars 3 forks source link

Unhandled exception caused by invalid workspaces (null) #10

Open jobee opened 3 years ago

jobee commented 3 years ago

Our Neos 7.0 instance produces invalid workspaces sometimes (no clue why that happens yet). Running node:repair from time to time will find these and kindly ask to remove them.

However, while these invalid workspaces exist, EditConflictPrevention seems to have a problem with it:

21-04-29 08:24:57 263 CRITICAL Exception in line 99 of /app/Packages/Framework/Neos.Flow/Classes/ObjectManagement/DependencyInjection/DependencyProxy.php: Argument 2 passed to PunktDe\EditConflictPrevention\Domain\Repository\NodeDataRepository_Original::findChangedSubNodesInOtherWorkspaces() must be an instance of Neos\ContentRepository\Domain\Model\Workspace, null given, called in /app/Packages/Framework/Neos.Flow/Classes/ObjectManagement/DependencyInjection/DependencyProxy.php on line 99 - See also: 20210429082456d08ee1.txt

daniellienert commented 3 years ago

Hey @jobee, just fixed another issue in the area of workspaces. Please check if the latest bugfix version fixes your problem.

Would you please provide the stacktrace when you you encounter that problem again?

Tanks.