Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.12
-
Fix Version/s: 4.7.14
-
Component/s: CiviContribute
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
I have verified this on the test server.
- Create a batch data entry with > 65 entries and whatever value you want
- Immediately save for later
At that point the save will fail and throw all sorts of errors. This should not be the case since we are saving it for later. It will still save the batch for later, but will continue to have issues ( and removes entries near the end of the batch)
EVEN if all the fields are completed it will still throw the error and remove entries near the bottom.
If I set the batch size to 65 it will work as expected.
Note: on our server we get this error from the browser console when loading the batch for edit.
jquery.js?oeu8k5:9664 POST https://clearriver.namelessnetwork.org/civicrm/ajax/batch 500 (Internal Server Error)send @ jquery.js?oeu8k5:9664ajax @ jquery.js?oeu8k5:9215fileUploadXhr @ jquery.form.js?oeu8k5:346$.fn.ajaxSubmit @ jquery.form.js?oeu8k5:254(anonymous function) @ Entry.js?oeu8k5:9dispatch @ jquery.js?oeu8k5:4670elemData.handle @ jquery.js?oeu8k5:4338trigger @ jquery.js?oeu8k5:4579(anonymous function) @ jquery.js?oeu8k5:5289each @ jquery.js?oeu8k5:384each @ jquery.js?oeu8k5:136trigger @ jquery.js?oeu8k5:5288jQuery.fn.(anonymous function) @ jquery.js?oeu8k5:8481(anonymous function) @ entry:5214fire @ jquery.js?oeu8k5:3148fireWith @ jquery.js?oeu8k5:3260ready @ jquery.js?oeu8k5:3472completed @ jquery.js?oeu8k5:3503
Another Error:
Notice: Undefined index: total_amount in CRM_Batch_Form_Entry::formRule() (line 304 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Batch/Form/Entry.php).