Changes between Version 33 and Version 34 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/24/10 06:12:05 (11 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v33 v34  
    114114If 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.
    115115
     116In 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
    116118'''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!
    118120==== On-accept Callbacks ====
    119121