Skip to content

Commit

Permalink
Merge pull request #2440 from DOAJ/feature/4009_csv_upload_conditiona…
Browse files Browse the repository at this point in the history
…l_fields

feature/4009_csv_upload_conditional_fields
  • Loading branch information
Steven-Eardley authored Dec 17, 2024
2 parents 92dbeee + 4e84a88 commit d05320b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions portality/scripts/journals_update_via_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ def confirm_prompt():

try:
if not args.dry_run:
# FIXME: we have to validate, as this pre-filters conditional fields and makes other protections
# on the form values. This is not really ideal, as validate shouldn't really be changing the data!
fc.validate()

# Save the update request
fc.finalise(email_alert=False)
print('Update request created.')
Expand Down

0 comments on commit d05320b

Please sign in to comment.