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
The preview does not work, it just shows the following exception:
After a fast research I could track that down to the deserialization part of the preview. When the class is serialized the document is of the right type (Client\Bundle\WebsiteBundle\Document\PageDocument), but after deserialization the type is again Sulu\Bundle\ContentBundle\Document\PageDocument.
The text was updated successfully, but these errors were encountered:
The scenario described in http://stackoverflow.com/questions/34120232/sulu-extend-pagedocument?noredirect=1#comment56338102_34120232 doesn't work as intended, as the error in this thread explains.
Main point is when creating an own document class and using it with this configuration in
app/config/config.yml
:The preview does not work, it just shows the following exception:
After a fast research I could track that down to the deserialization part of the preview. When the class is serialized the document is of the right type (
Client\Bundle\WebsiteBundle\Document\PageDocument
), but after deserialization the type is againSulu\Bundle\ContentBundle\Document\PageDocument
.The text was updated successfully, but these errors were encountered: