BiologicalRecordsCentre / iRecord

Repository to store and track enhancements, issues and tasks regarding the iRecord website.
http://irecord.org.uk
2 stars 1 forks source link

Importer v2: switching between fields for mapping gets stuck #1705

Closed kitenetter closed 3 months ago

kitenetter commented 3 months ago

I started an import process, and for testing purposes chose "DRN dragonfly imports" as the survey. As expected, when I arrived at the field mapping page, the choice between "standard fields" and "standard and advanced fields" was greyed out, as this is not implemented for anything other than the "iRecord Import" survey.

However, I then abandoned that import, went back to the start of the process, imported a file, and set it to import into "iRecord Import". When I arrive at the field mapping page, the choice between "standard fields" and "standard and advanced fields" was still greyed out.

Can we enable this functionality to refresh when a new import is started?

kitenetter commented 3 months ago

I was testing this in Chrome. Have just cleared cache and cookies and logged back in to iRecord, but the the choice between "standard fields" and "standard and advanced fields" is still greyed out.

johnvanbreda commented 3 months ago

The option will get greyed out if any of the fields that have been automatically mapped to your spreadsheet are advanced ones, since changing the option would remove fields that are in use. Does that explain the issue?

kitenetter commented 3 months ago

@johnvanbreda yes it probably does (I had added some 'advanced' fields to a previously imported 'standard' spreadsheet as part of my testing). I'm not convinced that this is the ideal solution, but I can see there are pros and cons and I'm not inclined to suggest a change at the moment. But at least I can now explain it on the Help page! Closing.