User tests: Successful: Unsuccessful:
Loading the class in SITE/components/com_content/models/articles.php
Set a multilingual site.
In Global Configuration allow Inline Editing for Modules & Menus

Edit Global Options for Articles and set Show associations to Show

Make sure you have some articles associated.
EDIT: Display on the page a mod_latest_news module.
Login frontend as super user and edit a module by clicking on the icon
Protostar in error and Class 'ContentHelperAssociation' not found (this will show if debug is on)
All OK.
Note: The class is loaded in 4.0
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End com_content |
I was not able yet to reproduce with a custom template. Can you indicate if the problem occurs with J3.9 Beta 4 or staging?
please test with protostar. page would display fo rexample a blog with these associated articles.
Class ContentHelperAssociation in registered in components/com_content/content.php but modules (latest news) does not load this file. They load only components/com_content/models/articles.php.
Indeed, just found this happens when that module is present on the page.
My advice will not help, because I would like to remove the loading associations from the articles.php model and load them only in the views. Because removing associations from the model can be treated as a B/C break, we can not do anything more.
There was a solution not to load tags for modules, added by Michael, but for associations it may not work. I suppose the modules like (latest news) do not require any associations.
I have tested this item
To see error I had to set 'Show Associations: Show' in article options.
Use Global (Show) do not work.
I have tested this item
To see error I had to set 'Show Associations: Show' in article options.
Use Global (Show) do not work.
| Status | Pending | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-10 12:00:58 |
| Closed_By | ⇒ | mbabker | |
| Labels |
Added:
?
|
||
Folks, this is quite similar to #22525 in the sense that the issue happens only when editing a module in frontend.