digital-preservation / droid

DROID (Digital Record and Object Identification)
BSD 3-Clause "New" or "Revised" License
285 stars 75 forks source link

Improved the validation error messages on export template parsing #1113

Closed sparkhi closed 5 months ago

sparkhi commented 5 months ago

Merging the error message improvements into the release branch The main change is, Earlier the order of checks was 1) Is it a profile results column? 2) Is it a constant string column? 3) Anything else - treat it as Data modifier column

Now we have changed the checking order between 2 and 3, this means "anything else" is treated as a constant string column and automatically, the associated error messages indicate syntax error accordingly