Skip to content

VersioningConsumer and in_archive flag #1253

@kosarko

Description

@kosarko

https://github.com/dataquest-dev/DSpace/blob/3a5766a5d2c28ad312d6658b9eb938f740677613/dspace-api/src/main/java/org/dspace/versioning/VersioningConsumer.java#L134 switches the in_archive flag on the old version to false

this feels like a soft delete (well soft withdraw)

it's not being fully withdrawn, just having the item archive flag set to false. It means it won't show up in OAI feeds (by the default filter), or get processed for browse and authority indexing, exported by export methods, included in content reports, etc. If the new version is deleted the older one will then be set back to archived=true

Which is not how we've imagined versioning so far...

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions