Closed gashcrumb closed 6 years ago
@apupier do you see this in a browser console?
ERROR TypeError: Cannot read property 'initCfg' of undefined
at t.targetSupportsTemplate (vendor.27388fd42d535e2e0ae7.bundle.js:778)
at Object.p.ɵvid.e [as updateDirectives] (main.1e4dbafcd617caab34f9.bundle.js:1)
at Object.updateDirectives (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at Hn (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at rr (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at er (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at Hn (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at rr (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at er (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at Hn (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at rr (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at nr (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at Object.Hn [as checkAndUpdateView] (vendor.27388fd42d535e2e0ae7.bundle.js:260)
at t.detectChanges (vendor.27388fd42d535e2e0ae7.bundle.js:337)
at l.Zfd1.l.initializeMapper (1.550ebf638cddb0f9a9b0.chunk.js:1)
@gashcrumb Assuming I'm seeing a same error, twitter as a finish connector might not be providing input DataShape? I'm not even sure if twitter mention/search connector really could be a finish connector.
yes I see this kind of error.
if it can't be a finish connector it should not be proposed then. if it the case, I think we should raise another issue for that.
For this issue, I think that we should have an error message instead of an infinite loading, what do you think?
Suspecting if it duplicates syndesisio/syndesis-ui#1065 It was closed yesterday, so I guess it's not available for TP1 env
btw this "Cannot read property 'initCfg' of undefined" message is confusing even for developers IMHO. We'll need to check if DataShape is available before open datamapper, and if not the error message should say that the step right previous/next to datamapper is not supported for datamapper.
duplicates syndesisio/syndesis-ui#1065
From @apupier on October 11, 2017 12:29
I tried on Crhome and Edge, same result:
I put a twitter connector "mention" as initial step and "Search" as finish step then try to add a step "data mapper"
I found no error in pod logs
Copied from original issue: syndesisio/syndesis-datamapper#53