• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  While creating Add-on: callback check

R

ragtek

Guest
#1
While we "create" the event listeners & routes, xenforo checkes if the files, classes & methods exist.

I thought that this is also happening with the Add-on install/uninstall files, but it isn't.

addontools.PNG
 
R

ragtek

Guest
#2
[ot]
sorry, no bug, but something similar:
Pls also check while creating the xml file, if the route,eventlistener,... files exist.

We forgot several times to delete the "association" in the acp, when we deleted a route/event listener file. (if it something what's not called very often, it's impossible to track the error. It's only visible if somebody tries to install the add-on an:(
[/ot]
 

Mike

XenForo developer
Staff member
#3
I've fixed this. I've also added some checks related to installing and uninstalling that ensure that the necessary code is available before they can be run (should give nicer errors if they were to happen).