A recent update to dataprep sometime between August 7-10 has broken a number of our dataprep recipes. Broken recipes fail to load with the error "Cannot read property 'expandScriptLines' of undefined".
The browser console shows the following error:
transformer error shown to user TypeError: Cannot read property 'expandScriptLines' of undefined
at Sample.expandScriptLines (trifacta.4bb6b8ae549c19471518.bundle.js:2)
at workspace-router.51e836ea8fb30fc60ca7.bundle.js:6
at vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1
at vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1
at baseForOwn (vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1)
at vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1
at baseMap (vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1)
at Function.map (vendors~choose-storage-location~create-workspace~external-landing~missing-dataprep-permissions~passw~a3136f85.6e2bcf15c63385c98d0f.bundle.js:1)
at workspace-router.51e836ea8fb30fc60ca7.bundle.js:6
at async Promise.all (/data/288523/index 1)
Here are some things we've observed:
- Loading a new sample of the data sometimes allows us to display the recipe and the preview. However, refreshing the page or making any changes result in the same error.
- The bug may be associated with the presence of a
Union
operation in the recipe.
Our flows are primarily Excel/CSV based. Here is a simple 3-step recipe that fails. It takes 5 source CSVs as input:
Any help would be appreciated as this has taken some of our most important flows offline.