We're updating the issue view to help you get more done. 

Warn user when he tries to save gene/variant with empty key field

Description

When the key fields are empty (gene symbol for genes and cDNA for variants), back-end will ignore those records and wont save them. User should be warned that info that he saved will not be saved.
The implementation problem was that it is not obvious how to stop the 'xwiki:actions:save' event from further propagation when intercepting it to warn user.
The attached code was used for implementation (insert into GeneVatiantMacros.xml, at the end of ExtraGeneVariantData class):

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Veronika Koltunova

Labels

External issue ID

None

External issue ID

None

Epic Link

Components

Fix versions

Priority

Medium