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

As Designed [dev] Code Event Listener function only checked at creation, not when modification

Discussion in 'Resolved Bug Reports' started by Marcus, Oct 22, 2013.

  1. Marcus

    Marcus Well-Known Member

    When I create a new code event listener, it checks if the function exists in the listener. However when I rename the function and update the listener with the old function name, it saves without throwing an error.
  2. Mike

    Mike XenForo Developer Staff Member

    In general, this is intentional and changing the behavior runs the risk of breaking other things. In the vast majority of situations, we only validate fields when you change them. Since you're not changing the callbacks, we assume that they're still working.

Share This Page