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

Sheduled test results in server exception #80

Open
langeipk opened this issue Feb 16, 2024 · 0 comments
Open

Sheduled test results in server exception #80

langeipk opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels

Comments

@langeipk
Copy link
Collaborator

langeipk commented Feb 16, 2024

image

When registering a scheduled test for an endpoint URL the erser thows an exeption:

"Unrecognized field "base-url" (class de.ipk_gatersleben.bit.bi.bridge.brapicomp.dbentities.Resource), not marked as ignorable (15 known properties: "submitToRepo", "name", "url", "crop", "provider", "certificate", "id", "email", "v1-url", "v2-url", "logo", "access-token", "lastTestReports", "frequency", "description"])
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 14] (through reference chain: de.ipk_gatersleben.bit.bi.bridge.brapicomp.dbentities.Resource["base-url"])"

The reason is an unimplemente attribute for the submitted JSON from the frontend. This bug resulted from the bugfix of #62 in 2022 #62

It would most likely be enough to make a change in the front-end JavaScript code. The modal dialog "Set up a periodic report." is still missing the selection of the BrAPI version as in the "Test your own" tab.

Intermediate solution is to disable the "scheduled test" feature but keep it visible in disabled state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants