? ? Pending

User tests: Successful: Unsuccessful:

avatar heelc29
heelc29
19 Jan 2022

Summary of Changes

Implement FormFactoryAwareInterface in ListModel to inject FormFactory

Testing Instructions

Open any list view (e.g. list of articles, contacts, extensions) and verify that the search form is displayed as before

Actual result BEFORE applying this Pull Request

UnexpectedValueException: FormFactory not set in Joomla\CMS\MVC\Model\ListModel

And fallback to Factory::getContainer()->get(FormFactoryInterface::class) to get the FormFactory

Expected result AFTER applying this Pull Request

FormFactory is now set in MVCFactory by setFormFactoryOnObject since Model now implements FormFactoryAwareInterface

Documentation Changes Required

none

avatar heelc29 heelc29 - open - 19 Jan 2022
avatar heelc29 heelc29 - change - 19 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jan 2022
Category Libraries
avatar PhilETaylor
PhilETaylor - comment - 19 Jan 2022

I guess the question is why? You don't explain how you got this error message, its certainly working without the PR in the core Joomla right?

avatar alikon
alikon - comment - 20 Jan 2022

enable debug
in administrator go to Content ->Articles

image

after apply the pr no more Exception

avatar alikon
alikon - comment - 20 Jan 2022

I have tested this item successfully on 904b114


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

avatar alikon alikon - test_item - 20 Jan 2022 - Tested successfully
avatar laoneo
laoneo - comment - 20 Jan 2022

I have tested this item successfully on 904b114


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

avatar laoneo laoneo - test_item - 20 Jan 2022 - Tested successfully
avatar alikon alikon - change - 20 Jan 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 20 Jan 2022

RTC


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

avatar bembelimen
bembelimen - comment - 20 Jan 2022

As it's a bug fix, it make sense to rebase to 4.1...

avatar bembelimen bembelimen - change - 21 Jan 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-01-21 12:53:40
Closed_By bembelimen
Labels Added: ? ?
avatar bembelimen bembelimen - close - 21 Jan 2022
avatar bembelimen bembelimen - merge - 21 Jan 2022
avatar bembelimen
bembelimen - comment - 21 Jan 2022

Thx

Add a Comment

Login with GitHub to post a comment