Bug #6800
closedJoomla bot loaded too soon
Description
CB Auto Actions is being loaded too soon resulting in language loading issues. This is due to Joomla language loading happening after routing. Change the event used to onBeforeRender so it's just before content is displayed.
Updated by krileon about 7 years ago
- Status changed from Resolved to Assigned
- Priority changed from Normal to High
- % Done changed from 100 to 50
Seams to still be loading in too soon. Joomlas "System - Language Code" is loaded onAfterRender and this bot is loaded on onBeforeRender, which could be where the below topic is having issues.
https://www.joomlapolis.com/forum/153-professional-member-support/237766-translation
Test changing the event to onAfterRespond, which is fired after everything is done loading. This likely will be too late to act on any extensions behavior though defeating the purpose of this plugin.
Find exactly where and when language is loaded in then try to load in CB Auto Actions Bot after that behavior to avoid any further issues.
Updated by krileon almost 7 years ago
- Target version changed from 7.0.1 to 7.1.0
Updated by krileon almost 7 years ago
Seams to still work with onAfterRender, which would allow at least using load order to prevent this issue since language code plugin is using onAfterRender.
Updated by krileon almost 7 years ago
Language is loaded in initialiseApp, which is before onAfterInitialise. Not sure how it's possible for this to be an issue for language NOT loaded by language code plugin. onAfterRender will be the best option.
Updated by krileon almost 7 years ago
- Status changed from Assigned to Resolved
- % Done changed from 50 to 100