Project

General

Profile

Actions

Bug #6800

closed

Joomla bot loaded too soon

Added by krileon over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
27 September 2017
Due date:
% Done:

100%

Estimated time:

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.

https://www.joomlapolis.com/forum/153-professional-member-support/237461-cb-auto-action-system-plugin-changes-language?start=6#297687

Actions #1

Updated by krileon over 6 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.

Actions #2

Updated by krileon over 6 years ago

  • Target version changed from 7.0.1 to 7.1.0
Actions #3

Updated by krileon over 6 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.

Actions #4

Updated by krileon over 6 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.

Actions #5

Updated by krileon over 6 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100
Actions #6

Updated by krileon over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF