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

As Designed Event Hints in Version 1.2 Beta 3

Discussion in 'Resolved Bug Reports' started by r1pe, Jul 4, 2013.

  1. r1pe

    r1pe Member


    the usage of event hints in the newest release 1.2 Beta 3 brokes the callback execution order. I have two different template hook files in two different addons. The first template hook use an event hint "editor" and the second one use a switch-case-statement with a case "editor". If I remove the event hint from the first addon and put a switch-case-statement in the template hook instead the execution order works as expected. But with the event hint the second template hook gets executed first.
  2. Jeremy

    Jeremy Well-Known Member

    Change the execution order. Works as expected.
    Adam Howard likes this.
  3. r1pe

    r1pe Member

    I have tested it again, it doesn't work.
  4. Jeremy

    Jeremy Well-Known Member

    With a defined execution order? Lower gets executed first.
  5. Mike

    Mike XenForo Developer Staff Member

    This is as expected now - using the edit hint will always run after a general purpose listener. The general expectation is that "later" is actually better as it gives you more control.
    Adam Howard, r1pe and Jeremy like this.

Share This Page