- Status changed to Needs review
over 1 year ago 4:16pm 28 May 2023 - π¦πΉAustria drunken monkey Vienna, Austria
Thanks for reporting this problem, and sorry it took me so long to get back to you!
Your analysis of the problem isnβt entirely correct, though. The problem is that it seems the function was written for use withconfirm_form()
, for which it produces exactly the right output. However, we then also used it fordrupal_goto()
and$form_state['redirect']
, without realizing that they use a slightly different format. It seems nobody noticed since this will only affect anonymous usersβ alerts.Anyways, I think the attached would be the proper fix: properly document what is being returned, and handle this accordingly in the caller. (Otherwise weβd need a second function, or a flag for which format to return.)
Please test/review, and thanks again! - Status changed to RTBC
over 1 year ago 4:08pm 7 June 2023 - π¦πΉAustria klausi π¦πΉ Vienna
Yup, this should also work. Thanks!
-
drunken monkey β
committed d023316e on 7.x-1.x authored by
klausi β
Issue #3305801 by klausi, drunken monkey: Fixed error after deleting...
-
drunken monkey β
committed d023316e on 7.x-1.x authored by
klausi β
- Status changed to Fixed
over 1 year ago 12:47pm 17 June 2023 - π¦πΉAustria drunken monkey Vienna, Austria
Good to hear. Merged.
Thanks again! Automatically closed - issue fixed for 2 weeks with no activity.