? ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
2 Apr 2022

Summary of Changes

A couple years ago @Hackwar added a cool feature #12414, which allows to run Field::postProcessing().
However it was not enabled in our FormModel class, and so never used.

This PR enable this feature for FormModel.

Testing Instructions

Apply patch, edit any content, and make sure all works.

Then edit

public function postProcess($value, $group = null, Registry $input = null)
{
return $value;
}

Add dd('Works!'); before return. And try to save any content again.

Actual result BEFORE applying this Pull Request

Content saved, that means postProcess() was ignored.

Expected result AFTER applying this Pull Request

You got white page with Works! message, that means postProcess() was called.

Documentation Changes Required

As part of #12414

avatar Fedik Fedik - open - 2 Apr 2022
avatar Fedik Fedik - change - 2 Apr 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2022
Category Libraries
avatar Fedik Fedik - change - 2 Apr 2022
The description was changed
avatar Fedik Fedik - edited - 2 Apr 2022
avatar martin-zw
martin-zw - comment - 4 Apr 2022

I have tested this item successfully on adaa0b6


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

avatar martin-zw martin-zw - test_item - 4 Apr 2022 - Tested successfully
avatar laoneo
laoneo - comment - 4 Apr 2022

I have tested this item successfully on adaa0b6


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

avatar laoneo laoneo - test_item - 4 Apr 2022 - Tested successfully
avatar laoneo laoneo - change - 4 Apr 2022
Status Pending Ready to Commit
avatar laoneo
laoneo - comment - 4 Apr 2022

RTC


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

avatar Quy Quy - change - 4 Apr 2022
Labels Added: ?
avatar roland-d roland-d - change - 5 Apr 2022
Labels Added: ?
avatar roland-d roland-d - close - 9 Apr 2022
avatar roland-d roland-d - merge - 9 Apr 2022
avatar roland-d roland-d - change - 9 Apr 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-04-09 19:51:31
Closed_By roland-d

Add a Comment

Login with GitHub to post a comment