Changes between Version 33 and Version 34 of S3/S3REST/s3_rest_controller
- Timestamp:
- 10/24/10 06:12:05 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v33 v34 114 114 If after the execution of the onvalidation callback any messages are found in {{{form.errors}}}, then no data are being imported and instead, the process will return to the input view with the messages displayed close to the respective form fields. 115 115 116 In non-interactive data imports, the error message will be added to the import tree as extra attribute of the invalid element. The XML importer will however process all records in the import tree in order to find all validation errors before reporting the invalid tree to the sender, and in case {{{ignore_errors}}} is used, all valid records will be imported in the first attempt. 117 116 118 '''Important:''' 117 In non-interactive data imports, the error message will be added to the import tree as extra attribute of the invalid element. The XML importer will however process all records in the import tree in order to find all validation errors before reporting the invalid tree to the sender, and in case {{{ignore_errors}}} is used, all valid records will be imported in the first attempt. Therefore the callback '''must not redirect'''!119 Onvalidation callbacks '''must not redirect''', in order to not breaking non-interactive data imports and to allow proper error reporting to the user/sender! 118 120 ==== On-accept Callbacks ==== 119 121