Skip to content

Inform user that his sample registration/update failed due to duplicated column headers #1313

@Steffengreiner

Description

@Steffengreiner

What happened?

If the user provides a duplicate column header then the upload will fail during the file upload step without informing the user why the upload was errorenous.

This can happen e.g. if the user defines a confounding variable with the same name as an established column header (which occured with the term "batch")

Ideally, the user is informed during confounding variable creation that specific terms are off limits and is not able to download a registration/edit sheet with duplicate headers with these terms.

What browsers are you seeing the problem on?

Firefox

Relevant log output

life.qbic.datamanager.views.projects.project.samples.registration.batch.RegisterSampleBatchDialog
Could not complete validation. Duplicate column found:

life.qbic.datamanager.views.projects.project.samples.registration.batch.RegisterSampleBatchDialog
Upload failed for project(XXXXXX) experiment(XXXXXXX)

life.qbic.datamanager.views.projects.project.samples.registration.batch.RegisterSampleBatchDialog
Validation failed.

life.qbic.datamanager.exceptionhandling.UiExceptionHandler
[XXXXXXXX] Upload failed

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAn issue that is in discussion to be either scheduled for implepmentation or denied

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions