BUG 12346 "Error creating Pm Tables using fields double,..." SOLVED
- Error creating Pm Tables using fields double, real, smallint, tinyint and setting field size - Problem solved, When you create a PM Table to the add a new field type: Double, Real, Tinyint and Smallint, is disabled size and no longer displays the error. * Available from version ProcessMaker-2.5.2-testing.1
This commit is contained in:
@@ -243,11 +243,21 @@ Ext.onReady(function(){
|
||||
}
|
||||
|
||||
//Numbers
|
||||
if (selCombo == "INTEGER" || selCombo == "BIGINT" || selCombo == "TINYINT" || selCombo == "SMALLINT") {
|
||||
if (selCombo == "INTEGER" || selCombo == "BIGINT") {
|
||||
//Enable All
|
||||
}
|
||||
|
||||
if (selCombo == "DECIMAL" || selCombo == "DOUBLE" || selCombo == "FLOAT" || selCombo == "REAL") {
|
||||
if (selCombo == "TINYINT" || selCombo == "SMALLINT") {
|
||||
swSize = 0;
|
||||
}
|
||||
|
||||
if (selCombo == "DECIMAL" || selCombo == "FLOAT") {
|
||||
swPK = 0;
|
||||
swAI = 0;
|
||||
}
|
||||
|
||||
if (selCombo == "DOUBLE" || selCombo == "REAL") {
|
||||
swSize = 0;
|
||||
swPK = 0;
|
||||
swAI = 0;
|
||||
}
|
||||
@@ -257,7 +267,6 @@ Ext.onReady(function(){
|
||||
swAI = 0;
|
||||
}
|
||||
|
||||
|
||||
if (selCombo == "LONGVARCHAR") {
|
||||
swPK = 0;
|
||||
swAI = 0;
|
||||
@@ -290,7 +299,6 @@ Ext.onReady(function(){
|
||||
} else {
|
||||
Ext.getCmp("field_incre").disable();
|
||||
Ext.getCmp("field_incre").setValue(false);
|
||||
|
||||
}
|
||||
|
||||
if (swSize == 1) {
|
||||
|
||||
Reference in New Issue
Block a user