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

http 401 on added reference sends input into nothingness #229

Open
WillemElbers opened this issue May 16, 2024 · 0 comments
Open

http 401 on added reference sends input into nothingness #229

WillemElbers opened this issue May 16, 2024 · 0 comments

Comments

@WillemElbers
Copy link
Member

Two issues happening:

  1. Validation on UI is passing allowing to save the collection.
  2. Validation in backend is failing because of 401, preventing the collection from being saved, but this is not propagated to the UI and the input is lost.

Stacktrace:

2024-05-16 15:06:18,954 WARN [org.apache.wicket.markup.resolver.AutoLinkResolver#newAutoComponent:462] - Did not find corresponding java class: eu.clarin.cmdi.virtualcollectionregistry.gui.pages.submission.AboutPage
2024-05-16 15:08:00,715 INFO [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.editors.authors.AuthorsEditor#populateItem:445] - Authors ListView: Van Uytvanck, Dieter, id=null, display order=0
2024-05-16 15:09:21,241 DEBUG [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.editors.references.ReferencesEditor#completeSubmit:472] - Completing reference submit: value=https://drive.google.com/file/d/1Fe4jhKpK1xrv6sZzLdkGpIZXEGb2L4Ih/view,title=Flyer PDF: A PID is forever
2024-05-16 15:09:21,242 INFO [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.editors.authors.AuthorsEditor#populateItem:445] - Authors ListView: Van Uytvanck, Dieter, id=null, display order=0
2024-05-16 15:10:10,821 INFO [eu.clarin.cmdi.virtualcollectionregistry.gui.pages.crud.v2.editor.editors.authors.AuthorsEditor#populateItem:445] - Authors ListView: Van Uytvanck, Dieter, id=null, display order=0
2024-05-16 15:10:12,551 DEBUG [eu.clarin.cmdi.virtualcollectionregistry.VirtualCollectionRegistryImpl#createVirtualCollection:149] - creating virtual collection
2024-05-16 15:10:12,968 INFO [eu.clarin.cmdi.virtualcollectionregistry.VirtualCollectionRegistryImpl#createVirtualCollection:154] - Validation failed:
2024-05-16 15:10:12,969 INFO [eu.clarin.cmdi.virtualcollectionregistry.VirtualCollectionRegistryImpl#createVirtualCollection:156] -    validation error: https://drive.google.com/file/d/1Fe4jhKpK1xrv6sZzLdkGpIZXEGb2L4Ih/view: 'https://drive.google.com/file/d/1Fe4jhKpK1xrv6sZzLdkGpIZXEGb2L4Ih/view' received invalid HTTP response: HTTP 401 Unauthorized
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant