You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the new sulu:reference:refresh command fails when there are unpublished articles.
bin/websiteconsole sulu:reference:refresh
Refresh snippets
----------------
2 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓]
Refresh pages
-------------
16 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓]
Refresh articles
----------------
2 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░]
In StructureManager.php line 69:
Sulu\Component\Content\Compat\StructureManager::wrapStructure(): Argument #2 ($structure) must be of type Sulu\Component\Content\Metadata\StructureMetadata, null given, calledin ../sulu-demo/vendor/sulu/sulu/src/Sulu/Component/Content/Compat/StructureManager.php on line 54
sulu:reference:refresh [<resource-key>]
Actual Behavior
Running the new sulu:reference:refresh command fails when there are unpublished articles.
Expected Behavior
Does not fail.
Steps to Reproduce
Run
It should work fine.
Now follow these steps:
Possible Solutions
The text was updated successfully, but these errors were encountered: