Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ElsaDashboard javascript issue after migrating from 2.13 to 2.14 #4847

Closed
zetic-be opened this issue Jan 29, 2024 · 8 comments
Closed

ElsaDashboard javascript issue after migrating from 2.13 to 2.14 #4847

zetic-be opened this issue Jan 29, 2024 · 8 comments
Labels
bug Something isn't working elsa 2

Comments

@zetic-be
Copy link

Hello,

I just migrated from Elsa 2.13 to 2.14.
It has solved compilation warnings due to migration to .NET 8, thank you.
However, there is an issue now with loading the dashboard on the client-side:

p-e37496bc.js:2 Uncaught (in promise) TypeError: r.originalAdapter.call is not a function
at e (p-e37496bc.js:2:897)
at async Object.list (p-04c30d61.js:1:4811)
at async se.componentWillLoad (p-23353c0b.entry.js:1:21264)

image
image
image

@liuliang-wt
Copy link

I also encountered the same problem, any help?

@ester-ka-sap
Copy link

I also have this issue. would be happy to hear about any workaround or solution to this.
image

@liuliang-wt
Copy link

@SipkeSchoorstraRTL any idea?

@Chryssie
Copy link

Seems to be related to emileber/axios-middleware#62 simply put, emileber/axios-middleware doesn't work with Axios ≥ 1 as axios.defaults.adaptor used to be a function and now it's an array of strings.

@zetic-be
Copy link
Author

Might be a good idea to automate UI testing for early discovery.

@sfmskywalker sfmskywalker added bug Something isn't working elsa 2 labels Jan 31, 2024
@mohdali
Copy link
Member

mohdali commented Feb 2, 2024

My bad, I overlooked this while making the release. I think the reason is this PR 3e16e6a. I will try to reverse it by selecting a compatible axios version < 1.2.0 and make a fix release.

@mohdali
Copy link
Member

mohdali commented Feb 2, 2024

Should be fixed with 2.14.1 https://github.com/elsa-workflows/elsa-core/releases/tag/2.14.1

@zetic-be
Copy link
Author

zetic-be commented Feb 5, 2024

Hi, thank you very much for your quick reaction and fix.
It is working fine for me, so I am closing this issue.

@zetic-be zetic-be closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working elsa 2
Projects
None yet
Development

No branches or pull requests

6 participants