BUGS IN 2024.1 1. Oracle seems to have broken err...
# suitescript
a
BUGS IN 2024.1 1. Oracle seems to have broken error handling in map/reduce scripts. An error thrown in the
getInputData()
will get logged as expected - however the job will end with a status of "Complete" whereas I believe before it would show "Failed." (Not 100% sure, but pretty sure). An error thrown in the
map()
and I believe
reduce()
methods, however, will not be logged, and again the execution will simply show as complete. (I have verified this by simply implementing
map()
as
function map(context) { throw new Error('Error in map'); }
2. There is an issue with filenames in Contact records that I am still desperately trying to solve. It seems if you have a file "name" (unclear if this is the filename or the file name, if that distinction makes sense) that does not contain an extension, you can no longer save the contact record without removing that image and re-adding it with an extension in the filename/file name)
s
For #1, errors in map() or reduce() arrive in the summarize step.
☝️ 2
a
maps and reduces ... right this is not a 24.1 change, twas ever thus
💯 1
a
Seems I was mistaken about #1 and that this has always been the behavior. #2 is for sure an issue, though. May be impacting my org more than most, but it's a big mess for us over here. 🙂