View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
18490Feature requestsOtherpublic2022-12-02 21:42
Reportermarcgold Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary18490: Duplicate SID Error handling
Description

Related to ticket: 16187

I feel it would be a good idea to extend the error handling in the instance of copying a survey from another and checking if the SID has been previously used.

The fix deployed in the above ticket IMHO is easy to miss and by this point the error has already occurred. I feel it is more user friendly to use an alert message on submit or an ajax listener on the field. I did try and code this in PHP with a JS alert - but TBH my coding skills are not upto it.

However in Pseudo Code:

if (NewID == AnExistingID) {
Alert Message ("ID XXXXX already exists, if you continue a random ID will be created!")
OK --> Create New Survey with Random ID
Cancel --> Return to enter New ID manually

Or this can be done via Ajax before submitting

I wouldn't bother doing this in LTS - but would be cleaner to have in LS5+

Steps To Reproduce

NA

TagsNo tags attached.
Bug heat0
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-11-16 13:54 marcgold New Issue
2022-12-02 21:42 gabrieljenik Project Bug reports => Feature requests