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

TypeError: Cannot read properties of null (reading 'match') when adding keywords #10228

Closed
gustavotonini opened this issue Jul 19, 2024 · 1 comment
Labels
UI/UX Issues affecting the user interface/user experience

Comments

@gustavotonini
Copy link

Describe the bug
When users are adding keywords to the publication metadata, after adding the first keyword, it's not possible to add more. The browser console shows the error:

TypeError: Cannot read properties of null (reading 'match')
at build.js?v=3.3.0.16:157:65374

To Reproduce
Steps to reproduce the behavior:

  1. Go to a submission
  2. Click on 'Publication', then 'Metadata'
  3. Add two keywords
  4. See error

What application are you using?
OJS 3.3.0.16 and 3.3.0.17

Additional information

image

@jonasraoni jonasraoni added the UI/UX Issues affecting the user interface/user experience label Jul 19, 2024
@jonasraoni
Copy link
Contributor

jonasraoni commented Aug 7, 2024

Hi @gustavotonini!

I've tried to simulate this issue and I had no success, can you simulate it on the test drive installation?
https://ojs33.testdrive.publicknowledgeproject.org (login: admin/testdrive).

Once you start typing on the field, a single request will be made to /index.php/journal/api/v1/vocabs?vocab=submissionKeyword, I guess there might be something wrong on the output on your local installation, if you spot something unexpected, let us know.

I'll close this issue for now.

@jonasraoni jonasraoni closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI/UX Issues affecting the user interface/user experience
Projects
None yet
Development

No branches or pull requests

2 participants