No Code Attached Yet bug
avatar brianteeman
brianteeman
15 Mar 2024

Steps to reproduce the issue

Open an existing guided tour step

Expected result

No browser console errors or warnings

Actual result

Invalid value passed for the readonly option. The value must be a boolean.
Invalid value passed for the joomlaExtButtons option. The value must be a object.

System information (as much as possible)

Tested wityh 5.0.3 and current 5.1 branch

Additional comments

avatar brianteeman brianteeman - open - 15 Mar 2024
avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Mar 2024
avatar brianteeman brianteeman - change - 15 Mar 2024
The description was changed
avatar brianteeman brianteeman - edited - 15 Mar 2024
avatar brianteeman
brianteeman - comment - 15 Mar 2024

same issue with tours

avatar Hackwar Hackwar - change - 24 Mar 2024
Labels Added: bug
avatar Hackwar Hackwar - labeled - 24 Mar 2024
avatar o-joomla-issues
o-joomla-issues - comment - 25 Apr 2024

"Invalid value passed for the joomlaExtButtons option. The value must be a object." is also shown when editing content (option=com_content&view=article&layout=edit)


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

avatar obuisard
obuisard - comment - 26 Jul 2024

Hello Brian @brianteeman and @o-joomla-issues.
These errors come from tinymce.js.

avatar brianteeman
brianteeman - comment - 26 Jul 2024

Hello Brian @brianteeman and @o-joomla-issues. These errors come from tinymce.js.

No they come from the way guided tours is set up to use tinymce. If it was a general tinymce only issue then we would have this wherever tinymce is used but we do not.

tiny

avatar obuisard
obuisard - comment - 26 Jul 2024

Thanks, Brian.

It's general to Joomla, if I am not mistaken. If we have 2 editor windows on the same page, the errors happen.
For instance, if I add an editor custom field to articles, I get the one error about joomlaExtButtons in the console when editing articles (as stated by @o-joomla-issues).
When editing tours without language keys (therefore having only one editor field), there is no javascript error.

image

I believe the first error, happening only while editing tours, is because we set the second editor field to 'disabled'.
The second error happens whenever at least 2 editor fields are present, in any area of Joomla where this situation occurs. If, for instance, 3 editor fields are present, you get twice the second error.

We don't do anything 'fancy' in the edition of guided tours. We just set the 2nd editor field to 'read only' in the XML file.

avatar brianteeman brianteeman - change - 9 Aug 2024
Title
Guided Tours Step console errors
tinyMCE console errors if more than one copy
avatar brianteeman brianteeman - edited - 9 Aug 2024

Add a Comment

Login with GitHub to post a comment