? ? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
31 Mar 2017

Pull Request for Issue #15005.

Summary of Changes

This pr adds support to check the default value of a custom field when a JFormRule exists. Additionally it adds support of rules for field plugins to a be found by JForm.

Testing Instructions

  • Create a calendar custom field
  • Set as default value test
  • Save the field

Please also save the field with the following default values which should be correct:

  • now
  • NOW
  • 2017-02-09

The same can also be tested with any other field which has a rule.

Expected result

The field is not saved and an error message is shown.

Actual result

The field saves normally.

Documentation Changes Required

avatar laoneo laoneo - open - 31 Mar 2017
avatar laoneo laoneo - change - 31 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Mar 2017
Category Administration com_fields Language & Strings Libraries
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 Mar 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Mar 2017

I have tested this item successfully on 2158030

Test on calendar custom field: "test" brings Error, other 3 Values saved and working in Article.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15032.

avatar Bakual Bakual - test_item - 31 Mar 2017 - Tested successfully
avatar Bakual
Bakual - comment - 31 Mar 2017

I have tested this item successfully on 2158030


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15032.

avatar zero-24 zero-24 - change - 31 Mar 2017
Labels Added: ? ?
avatar zero-24
zero-24 - comment - 31 Mar 2017

@laoneo i have just fixed drone.

avatar laoneo
laoneo - comment - 31 Mar 2017

Thanks!

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 1 Apr 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

I have tested this item successfully on 2394024


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15032.

avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Apr 2017
Easy No Yes
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

@Bakual can you please retest?

avatar laoneo
laoneo - comment - 1 Apr 2017

Only cs commits are done, guess ready for rtc?

avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

RTC after two successful testes.

avatar brianteeman
brianteeman - comment - 1 Apr 2017

How can this be rtc when there are unresolved comments

avatar zero-24 zero-24 - change - 1 Apr 2017
Labels Added: ?
avatar zero-24
zero-24 - comment - 1 Apr 2017

Should be fixed now @brianteeman thanks for the reminder.

avatar franz-wohlkoenig franz-wohlkoenig - change - 1 Apr 2017
Status Ready to Commit Pending
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 1 Apr 2017

RTC okay?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15032.

avatar laoneo laoneo - change - 1 Apr 2017
Title
[com_fields] Add a check if the default value is correct bas on JFormRules
[com_fields] Add a check if the default value is correct based on JFormRules
avatar laoneo laoneo - edited - 1 Apr 2017
avatar laoneo
laoneo - comment - 1 Apr 2017

ok now @brianteeman?

avatar zero-24 zero-24 - change - 1 Apr 2017
Labels Removed: ?
avatar zero-24 zero-24 - change - 1 Apr 2017
Milestone Added:
Status Pending Ready to Commit
Labels
avatar zero-24
zero-24 - comment - 1 Apr 2017

Back to RTC after the comment by @brianteeman is resovled now and there are just cs changes between the tests ? Thanks ?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15032.

avatar wilsonge wilsonge - change - 1 Apr 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-01 22:05:18
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 1 Apr 2017
avatar wilsonge wilsonge - merge - 1 Apr 2017
avatar laoneo laoneo - change - 3 Apr 2017
The description was changed
avatar laoneo laoneo - edited - 3 Apr 2017

Add a Comment

Login with GitHub to post a comment