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

Plugins: "TypeError: Cannot read properties of undefined (reading 'indexOf')" #2634

Open
1 of 2 tasks
cboergermann opened this issue Mar 4, 2024 · 6 comments
Open
1 of 2 tasks

Comments

@cboergermann
Copy link

cboergermann commented Mar 4, 2024

Apiman Version

3.1.3.Final

Apiman Manager Distro

WildFly

Apiman Gateway Distro

Vert.x

Java Version

openjdk 11.0.8 2020-07-14 LTS

Operating System

Docker Image

Are you running Apiman in a container, or on an orchestration platform?

Docker / Podman

Describe the bug

After I installed the Simple Header Plugin (3.1.3.Final) I get a javascript error. The plugin itself is functional
grafik
which is

p.isSnapshot = p.version.indexOf("-SNAPSHOT", this.length - "-SNAPSHOT".length) !== -1;

Expected behaviour

No response

Actual behaviour

No response

How to Reproduce

No response

Relevant log output

No response

Anything else?

No response

Tasks

@barquero
Copy link

barquero commented Apr 5, 2024

I'm having this same issue.
Is any solution for this?
Thanks

@cboergermann
Copy link
Author

cboergermann commented Apr 9, 2024

Spontaneous self-healing in my case... I don't have a clue to be honest.

I deleted the Database entries for the plugin several times manually in the Database and then it worked worked somehow

@msavy
Copy link
Member

msavy commented Apr 9, 2024

Hi @barquero are you a support customer? If so, please reach out and we'll help dig into this immediately.

@barquero
Copy link

@msavy no, I'm not s support customer.

This is happening, on this both situations.
1st one, after import from a previous version all the apis/ plugins, etc...
2nd on a clean install activate any plugin.
Thanks

@msavy
Copy link
Member

msavy commented Apr 15, 2024

We can confirm this issue is fixed on the BPL commercially supported version of Apiman 3.x. We're not providing community support for 3.x any more.

I'll try to roll it into 4.x when that is finished and ready for upstream (as/when decision made).

@msavy msavy reopened this Apr 26, 2024
@msavy
Copy link
Member

msavy commented Apr 26, 2024

I'll leave this open so I can track it for a future release of Apiman.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

3 participants