User tests: Successful: Unsuccessful:
Pull Request for Issue #14090 .
Fixes the contact creation plugin
Test contact creation now works (note you may have to apply #13956 to fix a fields related problem on saving a user)
Contact now saves
@alikon or @csthomas - Should some of these fields (like sortname1
) be optional default null fields instead of some of this??
N/A
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_contact Front End Plugins |
Do you think those fields should be optional? Even in the installation defaults we don't have values for all except the first contact :(
I have tested this item
@franz-wohlkoenig You need to apply PR #13956 too before testing. That issue you are having now was sorted by that PR
@joomdonation #13956 is merged, not available on Patchtester. Will install nightly-builds?
Install nightly-builds? might help. Or you can just replace the file plugins/system/fields/fields.php on your Joomla 4.0 installation with the content of this file https://github.com/joomla/joomla-cms/blob/4.0-dev/plugins/system/fields/fields.php
@joomdonation installed nightly-builds and later content of file fields.php
, got after Save
of existing User:
I have tested this item
I have tested this item
Since the fields sortname1, sortname2, sortname3 are not required, I think it would be better if we allow null or set default value like how we do with other fields address, suburb, state... instead of having to write code to set empty value for the fields like this
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
Labels |
Added:
?
?
|
About related my PR. I could not add default value to meta... columns because they use TEXT type on mysql.
For sortname1,2,3 I have added default value.
Status | Ready to Commit | ⇒ | Needs Review |
Labels |
Removed:
?
|
I have tested this item
I have tested it on j37 with enabled sql_mode from Joomla 4.0
I have tested this item
Status | Needs Review | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-02-19 22:41:35 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
I can not find any source which can explain that.
If this field is optional then sql table should have "DEFAULT ''" but for
sortname1
I do not see it.In general there is a mess with defaults.
For me your changes are OK.