Closed NTaherifar closed 3 months ago
@kitchenprinzessin3880 , The issue is resolved and can be tested in the development version.
Test 1 PASS, a small modification required Depth test - https://sample-dev.data.auscope.org.au/dataset/edit/moolart-soil-sample-mw-2
Test 2 PASS Parent sample - https://sample-dev.data.auscope.org.au/dataset/moolart-surface_soil-sample-mw (1st June - 30th June 2024) Child sample - https://sample-dev.data.auscope.org.au/dataset/moolart-surface_soil-sample-mw-1
@NTaherifar if I enter the same depth, the edit is successful. depth_from < depth_to (not <=)
@kitchenprinzessin3880 , It is completed and ready for testing on both the dev and prod.
Ensure that the URL and email fields follow the correct format.
For depth fields:
depth_from (if specified) must be less than depth_to. For sample dates:
If a parent sample is specified, validate the dates against the parent sample's dates. Specifically, the start date of the sample must be either the same as or later than the start date of its parent sample (i.e., the sample cannot exist before the parent sample).