sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

Update user version when discarding a draft. #3515

Closed justinlittman closed 4 months ago

justinlittman commented 5 months ago

When discarding a draft work version and the draft work version has a user_version:

aaron-collier commented 4 months ago

I'm not clear on how a draft work version from H2 will get a UserVersion. Can we discuss at standup or a story time?

justinlittman commented 4 months ago

In the H2 data model, user_version is an attribute of WorkVersion. (This logically aligns with a DSA UserVersion, but is not the same.)

justinlittman commented 4 months ago

Changing strategy so closing this issue.