We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello Dataverse Team,
We wanted to share a discovered bug using this API :
curl -X DELETE http://localhost:8080/api/admin/clearMetricsCache/downloadsToMonth_2022-10
Log output says Caused by: org.postgresql.util.PSQLException: ERROR: column "metricname" does not exist Java code is https://github.com/IQSS/dataverse/blob/develop/src/main/java/edu/harvard/iq/dataverse/api/Admin.java#L1971 SQL Query is :
Caused by: org.postgresql.util.PSQLException: ERROR: column "metricname" does not exist
DELETE FROM metric where metricname = ?
metricname column has be renammed in upgrade_v4.10.1_to_v4.11.sql
metricname
ALTER TABLE metric RENAME COLUMN metricName TO name;
Maybe there are some other uses of the previous column name. Regards :)
The text was updated successfully, but these errors were encountered:
@luddaniel thanks for the bug report and for tracking down where we renamed the database column!
I'm going to give this a size of 3 since it's straightforward:
name
Sorry, something went wrong.
Fix IQSS#9346 clear single metrics api
22fabd9
e74b58a
Merge pull request #9569 from QualitativeDataRepository/IQSS/9346-fix…
ae28621
…-clear-single-metric-api Fix #9346 clear single metrics api
Successfully merging a pull request may close this issue.
Hello Dataverse Team,
We wanted to share a discovered bug using this API :
Log output says
Caused by: org.postgresql.util.PSQLException: ERROR: column "metricname" does not exist
Java code is https://github.com/IQSS/dataverse/blob/develop/src/main/java/edu/harvard/iq/dataverse/api/Admin.java#L1971
SQL Query is :
metricname
column has be renammed in upgrade_v4.10.1_to_v4.11.sqlMaybe there are some other uses of the previous column name.
Regards :)
The text was updated successfully, but these errors were encountered: