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

Bad Query related to Guestbook page #10245

Closed
qqmyers opened this issue Jan 18, 2024 · 1 comment · Fixed by #10244
Closed

Bad Query related to Guestbook page #10245

qqmyers opened this issue Jan 18, 2024 · 1 comment · Fixed by #10244
Labels
Type: Bug a defect
Milestone

Comments

@qqmyers
Copy link
Member

qqmyers commented Jan 18, 2024

String queryString = "select count(o) from GuestbookResponse as o, Dataset d, DvObject obj where o.dataset_id = d.id and d.id = obj.id and obj.owner_id = " + dataverseId + "and o.guestbook_id = " + guestbookId;
appears to have the same issue with "and... in the query that is going to append the word and to an id without a space that was just fixed in #10244 and #10243 . I have not checked to see how/when this query is triggered other than seeing it relates to GuestbookResponsesPage andManageGuestbooksPage. It is an 8 year-old piece of code.

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

Successfully merging a pull request may close this issue.

2 participants