No Code Attached Yet
avatar laybergerF
laybergerF
4 Jan 2022

Steps to reproduce the issue

Log into site with permissions to edit articles from Frontend. Access an existing article. Select the 'Edit' option which launches the Article Editor.

Expected result

When the editor opens, it should be populated with the content from the article selected to edit.

Actual result

The editor opens without any content from the article selected to edit: it's blank. No errors are displayed even with debug on and reporting set to maximum. The browser console displays the following error:

joomla-field-media.js?b9214e72c06daafd562e5c4116292b5763a437fe:172 Uncaught TypeError: window.bootstrap.Modal.getInstance is not a function
at HTMLElement.connectedCallback (joomla-field-media.js?b9214e72c06daafd562e5c4116292b5763a437fe:172)
at joomla-field-media.js?b9214e72c06daafd562e5c4116292b5763a437fe:325

System information (as much as possible)

Joomla 4.0.5, PHP 7.4.27, mySQL 5.6.41-84.1, T4 2.0.9, T4_bs5_blank Template 1.1.2. TinyMCE 5.10.2.

Additional comments

The same results occur with the JCE and CodeMirror editors, and using the Cassiopeia template with the T4 framework/template disabled.

avatar laybergerF laybergerF - open - 4 Jan 2022
avatar joomla-cms-bot joomla-cms-bot - change - 4 Jan 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Jan 2022
avatar dgrammatiko
dgrammatiko - comment - 4 Jan 2022

Does it work with the build in tinyMCE? If so the problem is JCE

avatar laybergerF
laybergerF - comment - 4 Jan 2022

No, it doesn't work with tinyMCE.

avatar dgrammatiko
dgrammatiko - comment - 4 Jan 2022

Can you uninstall all the 3rd PD extensions and add them back one at a time till you figure out which one is breaking Joomla?

avatar laybergerF
laybergerF - comment - 4 Jan 2022

To do that, I'll have to set up a test system and it will be time consuming so I'm hoping that I don't, and that someone will be able to pinpoint the cause or at least provide some more specific insight on where to look for it's cause.

avatar dgrammatiko
dgrammatiko - comment - 4 Jan 2022

Well, you need to uninstall extensions that potential could cause this problem. I said JCE as I know that it completely replaces the media field. The other area is to remove your template and any framework that came with it. My point is that the default template works fine...

avatar laybergerF
laybergerF - comment - 4 Jan 2022

Oh, I understand and I've started the process of building a test configuration on my localhost system

avatar laybergerF
laybergerF - comment - 4 Jan 2022

Okay, I've now been able to narrow the problem down. With all of the T4 items disabled, and with the Cassiopeia template set as the site default template, the problem still shows up. It can be reproduced by creating a menu item with a menu type of 'List All Categories in an Article Category Tree'. When logged into the Frontend as an authorized user, selecting a category from the page displayed by the menu will bring up all of the articles being included in the selected category. Selecting the 'Edit' button next to an article will bring up the article editor which should be populated with the content of the article, but in this case it comes up blank. No errors are displayed even with debug and max errors enabled. There are no javascript errors displayed in the browser console.

avatar laybergerF
laybergerF - comment - 5 Jan 2022

A little more information: For testing, I set a menu item for a single article and set it as the default page. With T4 still uninstalled and the Cassiopeia template set as the default for all pages, selecting 'Edit' still brings up the Frontend article editor void of content.

avatar AMurray2016
AMurray2016 - comment - 5 Jan 2022

Just chiming in - the Joomla forum discussion on this issue is here: https://forum.joomla.org/viewtopic.php?f=812&t=990923.

I've been trying to help @laybergerF on the forum but I've run out of ideas and it was my final suggestion to post it on the Issue Tracker.


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

avatar laybergerF
laybergerF - comment - 5 Jan 2022

@AMurray2016, thank you for your assistance!

avatar drmenzelit
drmenzelit - comment - 17 Jan 2022

Can you try on a clean J4 installation? Maybe there are some leftovers from your 3rd-party installations.
I can't reproduce the issue on my test J4 site.

avatar laybergerF laybergerF - close - 17 Jan 2022
avatar laybergerF
laybergerF - comment - 17 Jan 2022

Thank you. This issue has been resolved by copying all of the Joomla 4 files from a fresh install over top of the existing site files.

avatar laybergerF laybergerF - change - 17 Jan 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-01-17 14:24:18
Closed_By laybergerF

Add a Comment

Login with GitHub to post a comment