bug PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
20 Sep 2023

Issue for report #41827

Summary of Changes

In older Joomla the XTD button options was a "JS like object" string.
However this is not working for long time. The options should be as an array.

Testing Instructions

Add $button->options = "{handler: 'iframe', size: {x: 800, y: 500}}"; somewhere here

$button = new CMSObject();
$button->action = 'modal';
$button->link = $link;

And open any article to edit.

Actual result BEFORE applying this Pull Request

An error

Expected result AFTER applying this Pull Request

No error

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org:
  • No documentation changes for manual.joomla.org needed

References:

avatar joomla-cms-bot joomla-cms-bot - change - 20 Sep 2023
Category Libraries
avatar Fedik Fedik - open - 20 Sep 2023
avatar Fedik Fedik - change - 20 Sep 2023
Status New Pending
avatar HLeithner HLeithner - change - 20 Sep 2023
The description was changed
avatar HLeithner HLeithner - edited - 20 Sep 2023
avatar micker
micker - comment - 20 Sep 2023

tested and validate
thanks

avatar HLeithner
HLeithner - comment - 20 Sep 2023

tested and validate thanks

thanks for the feedback, for the future (I hope you test more prs now) please mark your tests a success in the issue tracker https://issues.joomla.org/tracker/joomla-cms/41828

avatar micker micker - test_item - 20 Sep 2023 - Tested successfully
avatar micker
micker - comment - 20 Sep 2023

I have tested this item ✅ successfully on fb46115


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

avatar HLeithner HLeithner - change - 20 Sep 2023
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-09-20 09:20:48
Closed_By HLeithner
Labels Added: bug PR-5.0-dev
avatar HLeithner HLeithner - close - 20 Sep 2023
avatar HLeithner HLeithner - merge - 20 Sep 2023
avatar HLeithner
HLeithner - comment - 20 Sep 2023

thanks

Add a Comment

Login with GitHub to post a comment