? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
10 Jul 2019

Redo of #22097 .

Summary of Changes

Currently, we store TinyMCE skin setting as a numeric value provided by glob(). This can cause the skin to automatically change when uploading a new skin.
This removes custom JFormFieldSkins field and replaces it with standard folder list field in form.

Testing Instructions

Edit TinyMCE plugin. In your set (Set 0 by default) select a skin. Save the plugin.
Upload a skin with name that alphabetically orders before your selected skin.
Edit an article.
You should see the new skin being used or the editor not appearing at all.
Remove the custom skin.
Apply patch.
Save plugin configuration again.
Upload the skin again.
Edit an article.
Now your selected skin should be used.

Documentation Changes Required

JFormFieldSkins is removed.

avatar SharkyKZ SharkyKZ - open - 10 Jul 2019
avatar SharkyKZ SharkyKZ - change - 10 Jul 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jul 2019
Category Front End Plugins
avatar SharkyKZ SharkyKZ - change - 10 Jul 2019
Labels Added: ?
avatar jaydevingawale jaydevingawale - test_item - 19 Oct 2019 - Tested unsuccessfully
avatar jaydevingawale
jaydevingawale - comment - 19 Oct 2019

I have tested this item ? unsuccessfully on 16dea33

It still shows the blank page


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

avatar flyingwombats
flyingwombats - comment - 19 Oct 2019

This does indeed fail to stop the plugin change and to stop the editor breaking

avatar flyingwombats flyingwombats - test_item - 19 Oct 2019 - Tested unsuccessfully
avatar flyingwombats
flyingwombats - comment - 19 Oct 2019

I have tested this item ? unsuccessfully on 16dea33


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

avatar Fedik Fedik - test_item - 20 Jan 2020 - Tested successfully
avatar Fedik
Fedik - comment - 20 Jan 2020

I have tested this item successfully on bcc2758


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

avatar Fedik Fedik - test_item - 21 Jan 2020 - Tested successfully
avatar Fedik
Fedik - comment - 21 Jan 2020

I have tested this item successfully on 3075d41


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

avatar jwaisner
jwaisner - comment - 22 Jan 2020

@flyingwombats @jaydevingawale Please retest this.

avatar wilsonge
wilsonge - comment - 13 Feb 2020

Should we also set default values in the XML (given we already have them in the PHP?). Other than that LGTM

avatar SharkyKZ
SharkyKZ - comment - 13 Feb 2020

I intentionally left this part the way it was.

I guess we could add the - Use Default - option with empty value. This way, if selected theme is deleted, the field will use empty value rather than the first option alphabetically. And we'll fall back to oxide in the code.

avatar wilsonge wilsonge - change - 16 Feb 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-16 21:47:19
Closed_By wilsonge
avatar wilsonge wilsonge - close - 16 Feb 2020
avatar wilsonge wilsonge - merge - 16 Feb 2020
avatar wilsonge
wilsonge - comment - 16 Feb 2020

LGTM!

Add a Comment

Login with GitHub to post a comment