DSpace / dspace-angular

DSpace User Interface built on Angular.io
https://wiki.lyrasis.org/display/DSDOC8x/
BSD 3-Clause "New" or "Revised" License
128 stars 421 forks source link

Revisit auto-save behavior of Submission, especially when metadata is added dynamically on server side #896

Open tdonohue opened 3 years ago

tdonohue commented 3 years ago

This ticket is a reminder to revisit the decisions made in #835 for the 7.0 release.

As noted in #835, there are scenarios where metadata may be added/enhanced on the server-side within an active submission form. Some of those scenarios include:

In all of these scenarios, this implies that it might be possible that metadata could be added on both the client side (by the submitter) and the server side (via lookup or extraction). In that situation, we'd need to know which metadata is most "trusted", and perhaps determine a way to "diff" or compare the dynamically added metadata vs manually added metadata to determine which should be used.

In #835, @atarix83 added some general ideas on how this might be achievable in this comment.

In 7.0, we decided to simplify our implementation to trust the client side & limit scenarios of automated metadata extraction on the server-side.

Therefore, this ticket is an opportunity to now re-analyze the current auto-save behavior and determine whether it is still "good enough" (in which case this ticket can be closed) or whether it requires work to better support automated metadata extraction or enhancement.

abollini commented 2 years ago

@tdonohue we suggest to close this task as nothing more is needed in regards to the auto-save behavior

tdonohue commented 2 years ago

Per today's meeting discussion, we decided this ticket relates back to #858 , as current 7.0 auto-save behavior may (or may not) require reanalysis once that Submission code refactor is completed. So, this task should be analyzed as part of #858 or after #858 has been better scoped.

At that time, it may be that we decide to still just close this ticket...but, for now, I'll leave this open as a reminder that auto-save behaviors need to be revisited/reanalyzed as we refactor the submission code.