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

IQSS/10117-increase-guestbook-question-length #10118

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Nov 10, 2023

What this PR does / why we need it: This PR increases the allowed length of a custom question (was 255 chars, now up to limit of the postgres text type) and fixes the code that was hiding any error when a guestbook create/edit failed (due to this or other reason causing a CommandException).

Which issue(s) this PR closes:

Special notes for your reviewer: Accidentally committed to develop, reverted everything, and added a new commit here to restore everything.

Suggestions on how to test this: Try creating/editing a guestbook with a custom question over 255 chars in length. Before the PR, you'll see a success message and no new guestbook/guestbook update. After the PR, the change will succeed. If you also want to test the error fix, run ALTER TABLE customquestion ALTER COLUMN questionstring TYPE varchar(10); or similar low number and try to add a question longer than that. (setting TYPE back to text as in the flyway script will restore your db).

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?: fairly minor issue but I added one

Additional documentation:

@qqmyers qqmyers added GDCC: QDR of interest to QDR Size: 3 A percentage of a sprint. 2.1 hours. labels Nov 10, 2023
@coveralls
Copy link

coveralls commented Nov 10, 2023

Coverage Status

coverage: 21.854%. remained the same
when pulling 1d300f4 on QualitativeDataRepository:IQSS/10117-customquestion_limit_and_failure
into befc5a9 on IQSS:develop.

@cmbz
Copy link

cmbz commented Dec 18, 2023

2023/12/18: Also closes #9492

@pdurbin pdurbin added the Type: Feature a feature request label Oct 9, 2024
@cmbz cmbz added the FY25 Sprint 10 FY25 Sprint 10 (2024-11-06 - 2024-11-20) label Nov 7, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file needs to be renamed V6.5....

@qqmyers qqmyers removed their assignment Nov 13, 2024
@stevenwinship stevenwinship removed their assignment Nov 13, 2024
@pdurbin
Copy link
Member

pdurbin commented Nov 13, 2024

@stevenwinship @qqmyers @ofahimIQSS Jenkins tests are failing. Does anyone know why?

@stevenwinship
Copy link
Contributor

@stevenwinship @qqmyers @ofahimIQSS Jenkins tests are failing. Does anyone know why?

[Pipeline] script
[Pipeline] {
[Pipeline] fileExists
[Pipeline] error
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: Ansible run terminated abnormally, failing build.

GitHub has been notified of this commit’s build result

Finished: FAILURE

@stevenwinship
Copy link
Contributor

"System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."
Connection closed by 3.236.18.81 port 22
lost connection

@ofahimIQSS ofahimIQSS assigned ofahimIQSS and unassigned ofahimIQSS Nov 18, 2024
@ofahimIQSS
Copy link
Contributor

No issues found during testing - Merging PR
Testing of 10118.docx

@ofahimIQSS ofahimIQSS merged commit b812173 into IQSS:develop Nov 19, 2024
11 checks passed
@ofahimIQSS ofahimIQSS removed their assignment Nov 19, 2024
@pdurbin pdurbin added this to the 6.5 milestone Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 10 FY25 Sprint 10 (2024-11-06 - 2024-11-20) GDCC: QDR of interest to QDR Size: 3 A percentage of a sprint. 2.1 hours. Type: Feature a feature request
Projects
Status: Done 🧹
6 participants