cobwebch / external_import

Other
20 stars 16 forks source link

Error when trying to interpret TCE errors #352

Closed fsuter closed 3 weeks ago

fsuter commented 3 weeks ago

The StoreDataStep tries to retrieve TCE errors and localize the messages with the proper arguments to inform the user about what happened. It is assumed that the main error is a very specific one, but it's not always the case and the "sprintf" part of Extbase's LocalizationUtilitiy fails when the argument count is not correct. A workaround is to pass a number of empty strings on top of the expected arguments, so that printing the message does not fail.