Bug 2332 - Required fields need identification and checking on import confirmation
Required fields need identification and checking on import confirmation
Status: NEW
Product: OJS
Classification: Unclassified
Component: Import/Export
3.1
PC Linux
: P2 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-13 11:39 PDT by Alec Smecher
Modified: 2013-05-29 15:01 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Smecher 2006-07-13 11:39:06 PDT
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.
Comment 1 Alec Smecher 2007-09-27 12:53:24 PDT
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.
Comment 2 Alec Smecher 2007-10-01 15:47:20 PDT
Deferring from 2.2.
Comment 3 Alec Smecher 2013-05-29 15:01:57 PDT
Fortunately moving to PHP5.1+ gives lots of additional possibilities for XML.