Fixes of defaultValue from undef to '', 0 for mysql 5.1
This commit is contained in:
parent
4ee2e59f1d
commit
179e75ef8f
6 changed files with 14 additions and 13 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
- fixed #9760: DataForm not working in demo.plainblack.com
|
- fixed #9760: DataForm not working in demo.plainblack.com
|
||||||
- fixed #9759: Delete Entry Button missing in Data Form
|
- fixed #9759: Delete Entry Button missing in Data Form
|
||||||
- fixed #9767: FileAsset breaks 'null' rule for FileAsset table
|
- fixed #9767: FileAsset breaks 'null' rule for FileAsset table
|
||||||
|
- fixed defaultValues of undef cause mysql5.1 to complain about columns that are set to be NOT NULL. 5.0 doesn't care.
|
||||||
|
|
||||||
7.6.12
|
7.6.12
|
||||||
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
|
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
|
||||||
|
|
|
||||||
|
|
@ -116,7 +116,7 @@ sub definition {
|
||||||
},
|
},
|
||||||
'storageId' => {
|
'storageId' => {
|
||||||
fieldType => "Image",
|
fieldType => "Image",
|
||||||
defaultValue => undef,
|
defaultValue => '',
|
||||||
maxAttachments => 1,
|
maxAttachments => 1,
|
||||||
},
|
},
|
||||||
'feedUid' => {
|
'feedUid' => {
|
||||||
|
|
|
||||||
|
|
@ -116,12 +116,12 @@ sub definition {
|
||||||
filename=>{
|
filename=>{
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>'hidden',
|
fieldType=>'hidden',
|
||||||
defaultValue=>undef
|
defaultValue=>'',
|
||||||
},
|
},
|
||||||
storageId=>{
|
storageId=>{
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>'hidden',
|
fieldType=>'hidden',
|
||||||
defaultValue=>undef
|
defaultValue=>'',
|
||||||
},
|
},
|
||||||
templateId=>{
|
templateId=>{
|
||||||
fieldType=>'template',
|
fieldType=>'template',
|
||||||
|
|
|
||||||
|
|
@ -243,13 +243,13 @@ sub definition {
|
||||||
my $properties = {
|
my $properties = {
|
||||||
storageId => {
|
storageId => {
|
||||||
fieldType=>"image",
|
fieldType=>"image",
|
||||||
defaultValue=>undef,
|
defaultValue=>'',
|
||||||
enforceSizeLimits => 0,
|
enforceSizeLimits => 0,
|
||||||
},
|
},
|
||||||
threadId => {
|
threadId => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>"hidden",
|
fieldType=>"hidden",
|
||||||
defaultValue=>undef
|
defaultValue=>'',
|
||||||
},
|
},
|
||||||
originalEmail => {
|
originalEmail => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
|
|
|
||||||
|
|
@ -118,12 +118,12 @@ sub definition {
|
||||||
subscriptionGroupId => {
|
subscriptionGroupId => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>"hidden",
|
fieldType=>"hidden",
|
||||||
defaultValue=>undef
|
defaultValue=>'',
|
||||||
},
|
},
|
||||||
replies => {
|
replies => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>"hidden",
|
fieldType=>"hidden",
|
||||||
defaultValue=>undef
|
defaultValue=>0,
|
||||||
},
|
},
|
||||||
isSticky => {
|
isSticky => {
|
||||||
fieldType=>"yesNo",
|
fieldType=>"yesNo",
|
||||||
|
|
@ -131,12 +131,12 @@ sub definition {
|
||||||
},
|
},
|
||||||
isLocked => {
|
isLocked => {
|
||||||
fieldType=>"yesNo",
|
fieldType=>"yesNo",
|
||||||
defaultValue=>0
|
defaultValue=>0,
|
||||||
},
|
},
|
||||||
lastPostId => {
|
lastPostId => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
fieldType=>"hidden",
|
fieldType=>"hidden",
|
||||||
defaultValue=>undef
|
defaultValue=>'',
|
||||||
},
|
},
|
||||||
lastPostDate => {
|
lastPostDate => {
|
||||||
noFormPost=>1,
|
noFormPost=>1,
|
||||||
|
|
|
||||||
|
|
@ -96,13 +96,13 @@ sub definition {
|
||||||
},
|
},
|
||||||
actionTaken => {
|
actionTaken => {
|
||||||
fieldType => "text",
|
fieldType => "text",
|
||||||
defaultValue => undef,
|
defaultValue => '',
|
||||||
noFormPost => 1
|
noFormPost => 1,
|
||||||
},
|
},
|
||||||
actionTakenBy => {
|
actionTakenBy => {
|
||||||
fieldType => "user",
|
fieldType => "user",
|
||||||
defaultValue => undef,
|
defaultValue => '',
|
||||||
noFormPost => 1
|
noFormPost => 1,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue