Bug #1291
closed
- Estimated time set to 2:30 h
- Status changed from New to Assigned
- Assignee set to krileon
- Priority changed from Normal to Immediate
Moving to CB as the validation itself of "file chosen" at very least should happen before user is registered in all cases.
Kyle, could you take a look at this, and propose a patch for CB 1.2.2 ?
Thanks
- Project changed from 2 to CB
- Target version set to CB 1.2.2
- File 1291.patch added
- Status changed from Assigned to Resolved
- Assignee changed from krileon to beat
- % Done changed from 0 to 80
Added a validation function to check validity of field values and moved validation error checking to it. Required errors no longer trigger when used in conjunction with CBSubs and "hide at registration". 1 validation error check still exists in datasave function, but is for imgToolbox and is necessary to stop code and present user with the issue. However, it will not get to this point if the value is null/empty; thus not presenting the error unless a user has actually tried to upload something.
- File deleted (
1291.patch)
- Subject changed from Hide fields on registration not functioning based on field to Non-mandatory file fields not working at registration
- Status changed from Resolved to Closed
r925 fixes delete query of patch and this issue.
- % Done changed from 80 to 100
Also available in: Atom
PDF