You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Geographic Bounding Box validation error message doesn't reflect all validation rules (e.g. message reads that East number must be greater than West, North number must be greater than South, but Dataverse accepts equal numbers) #11179
When does this issue occur?
When trying to save a dataset that has invalid metadata in any set of Geographic Bounding Box fields and when using the validation error message to review the validity of metadata in those fields
Which page(s) does it occurs on?
On the dataset edit page
What happens?
When trying to save a dataset that has invalid metadata in a Geographic Bounding Box, the validation error message tells users that "East must be greater than West and North must be greater than South." But the dataset can be saved when the metadata doesn't follow that rule. That is when:
the number in the Easternmost (Right) Longitude field is equal to the number in the Westernmost (Left) Longitude field
the number in the Northernmost (Top) Latitude field is equal to the number in the Southernmost (Bottom) Latitude field
To whom does it occur (all users, curators, superusers)?
Curators, superusers, depositors
What did you expect to happen?
The validation error message reflects all validation rules, including that East and West can be equal and that North and South can be equal.
Which version of Dataverse are you using?
v6.3 and v6.5
Any related open or closed issues to this bug report?
Screenshots:
Validation error message for Geographic Bounding Box fields
Dataverse considers this metadata as valid even though the validation error tells users that "East must be greater than West and North must be greater than South."
Are you thinking about creating a pull request for this issue?
Maybe, depending how this is resolved. I'm happy to help investigate more and adjust the validation error text if we decide to do that.