Fail on import when item not found in dropdown #1976
Labels
Priority:Important
Issues & PRs that are important; broken functions, errors - there are workarounds
Status:Fix Proposed
A issue that has a PR related to it that provides a possible resolution
Type:Bug
Bugs within the core SuiteCRM codebase
Issue
FATAL error on import
NOTICE: [8] Undefined index: LBL_ERROR_INVALID_DYNAMICENUM on line 492 in file /var/www/html/helpdesk/modules/Import/Importer.php
Importing from CSV where imported data is incorrect. child in dynamic drop down does not exist.
Expected Behavior
Expected behaviour - system should capture the error and flag
Actual Behavior
Actual behaviour - FATAL error
Possible Fix
Steps to Reproduce
Context
low priority but would be good to have it noted.
Your Environment
Logs:
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: Undefined index: LBL_ERROR_INVALID_DYNAMICENUM
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: stat(): stat failed for upload/import/error_1.csv
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: Accessing static property ImportFieldSanitize::$createdBeans as non static
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: stat(): stat failed for upload/import/status_1.csv
Thu Aug 18 10:23:28 2016 [2925][1][FATAL] Caught error: touch(): UploadStream::stream_metadata is not implemented!
The text was updated successfully, but these errors were encountered: