geobtaa / geoblacklight_admin

MIT License
4 stars 2 forks source link

Document: current_version should always return a value #27

Closed ewlarson closed 9 months ago

ewlarson commented 9 months ago

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.