PKP Bugzilla – Bug 2332
Required fields need identification and checking on import confirmation
Last modified: 2013-05-29 15:01:57 PDT
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.
Required fields need identification and checking on import confirmation. For
example, when importing XML that does not contain a last name (or contains an
empty tag, which is valid XML according to the DTD), an error message "last_name
cannot be null" results. This should be checked and a nicer message displayed.
One way to accomplish almost everything required here is to pass the import file through an XML validator to check it against the DTD before importing.
Deferring from 2.2.
Fortunately moving to PHP5.1+ gives lots of additional possibilities for XML.