[Zorba-coders] [Bug 1006166] Re: cannot disable two functions with the same name
** Changed in: zorba Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1006166 Title: cannot disable two functions with the same name Status in Zorba - The XQuery Processor: Fix Committed Bug description: Disabling two functions (using StaticContext::disableFunction) with the same name but different arities is currently not possible. Only the first version of the function is actually disabled. The problem seems to be in static_context::unbind_fn where only the FunctionInfo for the first function is inserted into the vector. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1006166/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1006166] Re: cannot disable two functions with the same name
** Changed in: zorba Importance: Undecided => High ** Changed in: zorba Milestone: None => 2.7 -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1006166 Title: cannot disable two functions with the same name Status in Zorba - The XQuery Processor: In Progress Bug description: Disabling two functions (using StaticContext::disableFunction) with the same name but different arities is currently not possible. Only the first version of the function is actually disabled. The problem seems to be in static_context::unbind_fn where only the FunctionInfo for the first function is inserted into the vector. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1006166/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1006166] Re: cannot disable two functions with the same name
** Changed in: zorba Status: New => In Progress -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1006166 Title: cannot disable two functions with the same name Status in Zorba - The XQuery Processor: In Progress Bug description: Disabling two functions (using StaticContext::disableFunction) with the same name but different arities is currently not possible. Only the first version of the function is actually disabled. The problem seems to be in static_context::unbind_fn where only the FunctionInfo for the first function is inserted into the vector. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1006166/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 1006166] Re: cannot disable two functions with the same name
The StaticContext::disableFunction function is not documented at all. So, I have a question: it is supposed to work only for functions that are registered in the root static context (i.e., builtin function), right? -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/1006166 Title: cannot disable two functions with the same name Status in Zorba - The XQuery Processor: New Bug description: Disabling two functions (using StaticContext::disableFunction) with the same name but different arities is currently not possible. Only the first version of the function is actually disabled. The problem seems to be in static_context::unbind_fn where only the FunctionInfo for the first function is inserted into the vector. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/1006166/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp