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 #9759: Delete Entry Button missing in Data Form
|
||||
- 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
|
||||
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ sub definition {
|
|||
},
|
||||
'storageId' => {
|
||||
fieldType => "Image",
|
||||
defaultValue => undef,
|
||||
defaultValue => '',
|
||||
maxAttachments => 1,
|
||||
},
|
||||
'feedUid' => {
|
||||
|
|
|
|||
|
|
@ -116,12 +116,12 @@ sub definition {
|
|||
filename=>{
|
||||
noFormPost=>1,
|
||||
fieldType=>'hidden',
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
storageId=>{
|
||||
noFormPost=>1,
|
||||
fieldType=>'hidden',
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
templateId=>{
|
||||
fieldType=>'template',
|
||||
|
|
|
|||
|
|
@ -243,13 +243,13 @@ sub definition {
|
|||
my $properties = {
|
||||
storageId => {
|
||||
fieldType=>"image",
|
||||
defaultValue=>undef,
|
||||
defaultValue=>'',
|
||||
enforceSizeLimits => 0,
|
||||
},
|
||||
threadId => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
originalEmail => {
|
||||
noFormPost=>1,
|
||||
|
|
|
|||
|
|
@ -118,12 +118,12 @@ sub definition {
|
|||
subscriptionGroupId => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
replies => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>0,
|
||||
},
|
||||
isSticky => {
|
||||
fieldType=>"yesNo",
|
||||
|
|
@ -131,12 +131,12 @@ sub definition {
|
|||
},
|
||||
isLocked => {
|
||||
fieldType=>"yesNo",
|
||||
defaultValue=>0
|
||||
defaultValue=>0,
|
||||
},
|
||||
lastPostId => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
defaultValue=>'',
|
||||
},
|
||||
lastPostDate => {
|
||||
noFormPost=>1,
|
||||
|
|
|
|||
|
|
@ -96,13 +96,13 @@ sub definition {
|
|||
},
|
||||
actionTaken => {
|
||||
fieldType => "text",
|
||||
defaultValue => undef,
|
||||
noFormPost => 1
|
||||
defaultValue => '',
|
||||
noFormPost => 1,
|
||||
},
|
||||
actionTakenBy => {
|
||||
fieldType => "user",
|
||||
defaultValue => undef,
|
||||
noFormPost => 1
|
||||
defaultValue => '',
|
||||
noFormPost => 1,
|
||||
},
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue