? ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
3 Aug 2020

Try to fix release blocker #23036 .

Summary of Changes

This is correcting a way to retrieve a first category in list

Testing Instructions

Apply patch, and create a field assigned to specific category.
Then create a new Article to this category and make sure the field is there.

Actual result BEFORE applying this Pull Request

Works

Expected result AFTER applying this Pull Request

Works

Documentation Changes Required

nope

ping @wilsonge

avatar Fedik Fedik - open - 3 Aug 2020
avatar Fedik Fedik - change - 3 Aug 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2020
Category Administration com_fields
avatar Fedik Fedik - change - 3 Aug 2020
Labels Added: ?
avatar SharkyKZ SharkyKZ - test_item - 6 Aug 2020 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 6 Aug 2020

I have tested this item successfully on a5eef98


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

avatar ceford ceford - test_item - 7 Aug 2020 - Tested successfully
avatar ceford
ceford - comment - 7 Aug 2020

I have tested this item successfully on a5eef98

If it works before and works after applying the patch it is not clear what to look for as a test result.


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

avatar Quy Quy - change - 7 Aug 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 7 Aug 2020

RTC


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

avatar wilsonge
wilsonge - comment - 9 Aug 2020

Do we need this same code in the other places we have this (WorkflowBehaviorTrait and ArticleModel)?

avatar Fedik
Fedik - comment - 10 Aug 2020

Good question, I did not seen it there,
if it use

$xml->loadHTML($formField->__get('input'));
$options = $xml->getElementsByTagName('option');

Then yes, it also need to be changed.

Do not merge it for now, I will check that also

avatar Quy Quy - change - 10 Aug 2020
Status Ready to Commit Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2020
Category Administration com_fields Administration com_content com_fields Libraries
avatar Fedik
Fedik - comment - 11 Aug 2020

I have updated WorkflowBehaviorTrait and ArticleModel. Please re-check

I just have no idea where to test WorkflowBehaviorTrait.

avatar Fedik
Fedik - comment - 11 Aug 2020

@Quy please restore an yellow label ?

avatar dgrammatiko dgrammatiko - test_item - 25 Aug 2020 - Tested successfully
avatar dgrammatiko
dgrammatiko - comment - 25 Aug 2020

I have tested this item successfully on 861f892


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

avatar wilsonge wilsonge - change - 1 Sep 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-09-01 07:05:19
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 1 Sep 2020
avatar wilsonge wilsonge - merge - 1 Sep 2020
avatar wilsonge
wilsonge - comment - 1 Sep 2020

Thanks!

avatar wilsonge
wilsonge - comment - 1 Sep 2020

(Merged as there was two good changes in the main patch and one good test on rolling the same thing out to two other places)

Add a Comment

Login with GitHub to post a comment