Skip to content

Commit 627ceab

Browse files
Merge pull request #1605 from leoherbie/RESKC-1227
RESKC-1227: Multiple fixes for PHS398CoverPageSupplement 3.0.
2 parents a0cde63 + 60deffc commit 627ceab

4 files changed

Lines changed: 58 additions & 2 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
--
2+
-- Kuali Coeus, a comprehensive research administration system for higher education.
3+
--
4+
-- Copyright 2005-2016 Kuali, Inc.
5+
--
6+
-- This program is free software: you can redistribute it and/or modify
7+
-- it under the terms of the GNU Affero General Public License as
8+
-- published by the Free Software Foundation, either version 3 of the
9+
-- License, or (at your option) any later version.
10+
--
11+
-- This program is distributed in the hope that it will be useful,
12+
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
-- GNU Affero General Public License for more details.
15+
--
16+
-- You should have received a copy of the GNU Affero General Public License
17+
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
--
19+
20+
update questionnaire_questions set parent_question_number = 0, condition_flag = 'N', CONDITION_TYPE = null, CONDITION_VALUE = null where
21+
QUESTIONNAIRE_REF_ID_FK = (select QUESTIONNAIRE_REF_ID from questionnaire where QUESTIONNAIRE_ID = -1) and
22+
QUESTION_REF_ID_FK in (select QUESTION_REF_ID from question where QUESTION_ID in (5));
23+
24+
update question set question_id = '149' where question_id = '142' and MAX_ANSWERS = 200;
25+
26+
update questionnaire_questions set parent_question_number = 8, condition_flag = 'Y', CONDITION_TYPE = '4', CONDITION_VALUE = 'Y' where
27+
QUESTIONNAIRE_REF_ID_FK = (select QUESTIONNAIRE_REF_ID from questionnaire where QUESTIONNAIRE_ID = -1) and
28+
QUESTION_REF_ID_FK in (select QUESTION_REF_ID from question where QUESTION_ID in (149));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
--
2+
-- Kuali Coeus, a comprehensive research administration system for higher education.
3+
--
4+
-- Copyright 2005-2016 Kuali, Inc.
5+
--
6+
-- This program is free software: you can redistribute it and/or modify
7+
-- it under the terms of the GNU Affero General Public License as
8+
-- published by the Free Software Foundation, either version 3 of the
9+
-- License, or (at your option) any later version.
10+
--
11+
-- This program is distributed in the hope that it will be useful,
12+
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
-- GNU Affero General Public License for more details.
15+
--
16+
-- You should have received a copy of the GNU Affero General Public License
17+
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
--
19+
20+
update questionnaire_questions set parent_question_number = 0, condition_flag = 'N', CONDITION_TYPE = null, CONDITION_VALUE = null where
21+
QUESTIONNAIRE_REF_ID_FK = (select QUESTIONNAIRE_REF_ID from questionnaire where QUESTIONNAIRE_ID = -1) and
22+
QUESTION_REF_ID_FK in (select QUESTION_REF_ID from question where QUESTION_ID in (5));
23+
24+
update question set question_id = '149' where question_id = '142' and MAX_ANSWERS = 200;
25+
26+
update questionnaire_questions set parent_question_number = 8, condition_flag = 'Y', CONDITION_TYPE = '4', CONDITION_VALUE = 'Y' where
27+
QUESTIONNAIRE_REF_ID_FK = (select QUESTIONNAIRE_REF_ID from questionnaire where QUESTIONNAIRE_ID = -1) and
28+
QUESTION_REF_ID_FK in (select QUESTION_REF_ID from question where QUESTION_ID in (149));

coeus-it/src/test/java/org/kuali/coeus/s2sgen/impl/generate/support/PHS398CoverPageSupplement_3_0V3_0GeneratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected void saveAnswers(ProposalDevelopmentDocument document) {
146146
answer.setAnswer("Y");
147147
} else if (6 == answer.getQuestion().getQuestionSeqId()) {
148148
answer.setAnswer("1234");
149-
} else if (142 == answer.getQuestion().getQuestionSeqId()) {
149+
} else if (149 == answer.getQuestion().getQuestionSeqId()) {
150150
answer.setAnswer("Y");
151151
} else if (118 == answer.getQuestion().getQuestionSeqId()) {
152152
answer.setAnswer("Y");

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<cas-client-core.version>3.3.3</cas-client-core.version>
6969
<cglib.version>3.1</cglib.version>
7070
<coeus-api-all.version>1602.0001</coeus-api-all.version>
71-
<coeus-s2sgen.version>1603.0006</coeus-s2sgen.version>
71+
<coeus-s2sgen.version>1603.0007</coeus-s2sgen.version>
7272
<commons-beanutils.version>1.8.3-kuali-4</commons-beanutils.version>
7373
<commons-codec.version>1.10</commons-codec.version>
7474
<commons-collections.version>3.2.2</commons-collections.version>

0 commit comments

Comments
 (0)