Skip to content

Commit

Permalink
SSP-3058 Extend Accommodation Tool temp eligibility reason
Browse files Browse the repository at this point in the history
In the Accommodation Tool, extended the "Please Explain Temporary Eligibility" field from
50 chars to 250 chars.
  • Loading branch information
msultzaberger committed Jun 24, 2015
1 parent 35542a1 commit 660db43
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/jasig/ssp/model/PersonDisability.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ public class PersonDisability // NOPMD

private Boolean noSpecialEd;

@Column(length = 50)
@Size(max = 50)
@Column(length = 250)
@Size(max = 250)
private String tempEligibilityDescription;

private Boolean onMedication;
Expand Down
39 changes: 39 additions & 0 deletions src/main/resources/org/jasig/ssp/database/changesets/000184.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to Apereo under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Apereo licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd">

<property name="nvarchar.type" value="character varying" dbms="postgresql" />
<property name="nvarchar.type" value="nvarchar" dbms="mssql" />

<changeSet id="Expand temp_eligibility_description to 250 chars" author="michael.sultzaberger">
<modifyDataType tableName="person_disability" columnName="temp_eligibility_description" newDataType="${nvarchar.type}(250)" />
<rollback>
<modifyDataType tableName="person_disability" columnName="temp_eligibility_description" newDataType="${nvarchar.type}(50)" />
</rollback>
</changeSet>

</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -308,4 +308,5 @@
<include file="org/jasig/ssp/database/changesets/000181.xml" />
<include file="org/jasig/ssp/database/changesets/000182.xml" />
<include file="org/jasig/ssp/database/changesets/000183.xml" />
<include file="org/jasig/ssp/database/changesets/000184.xml" />
</databaseChangeLog>
2 changes: 1 addition & 1 deletion src/main/webapp/app/view/tools/accommodation/General.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Ext.define('Ssp.view.tools.accommodation.General', {
xtype: 'textareafield',
fieldLabel: 'Please Explain Temporary Eligibility',
name: 'tempEligibilityDescription',
maxLength: 50
maxLength: 250
},
{
xtype: 'textfield',
Expand Down

0 comments on commit 660db43

Please sign in to comment.