We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 8386 - Check Issue Management validation around Title
Check Issue Management validation around Title
Status: NEW
Product: OJS
Classification: Unclassified
Component: General
All All
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2013-08-14 10:37 PDT by Alec Smecher
Modified: 2013-08-14 15:41 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2013-08-14 10:37:17 PDT
Try the following in Create Issue:
- Make sure "Title" checkbox is selected
- Make sure "Title" field is empty
- Try to submit the form, resulting in a validation error (this is OK)
- Uncheck the "Title" checkbox
- Try submitting again; the validation error won't go away (not OK).
Comment 1 Jason Nugent 2013-08-14 15:28:24 PDT
I realize this is 3.0b but I tested it quickly.  The problem is that the second click (after unchecking the title checkbox) doesn't do a round trip to the server for a server side validation.  The first time you submit it, with the title checked, it does.  That causes the Form class to include the Validator and make the field required. We'd probably have to do a custom JS handler for this particular form in this case.
Comment 2 Jason Nugent 2013-08-14 15:29:18 PDT
.... Or a Custom validator server side.  Easier.
Comment 3 Alec Smecher 2013-08-14 15:41:56 PDT
Agreed, I was thinking server side.