If you have any documents in your database that do not have a corresponding PaperTrail version history, they will fail to BulkAction (ex. updating publication_state).
This change always returns a value for document.current_version, so BulkActions will run correctly.
If you have any documents in your database that do not have a corresponding PaperTrail version history, they will fail to BulkAction (ex. updating publication_state).
This change always returns a value for document.current_version, so BulkActions will run correctly.