[Tickets #10718] Re: Cli scripts, using the user_admin param on appInit resets language setting

bugs at horde.org bugs at horde.org
Wed Nov 9 14:47:01 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10718
------------------------------------------------------------------------------
  Ticket             | 10718
  Updated By         | goncalo.queiros at portugalmail.net
  Summary            | Cli scripts, using the user_admin param on appInit
                     | resets language setting
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | app_init.diff
------------------------------------------------------------------------------


goncalo.queiros at portugalmail.net (2011-11-09 14:47) wrote:

> It is, I was wondering why you would do this with kronolith-agenda though.
>
> That options sets the current user to the first admin user. That  
> user probably doesn't have a language set in his prefs, that's why  
> you don't get translated strings.

Just used kronolith-agenda as an example ;-)
I don't think its a question of prefs since if i swap the code flow  
(as shown in the patch attached), it works fine.

I didn't propose the patch in the first place, because i don't think  
this is the correct way to fix it.




goncalo.queiros at portugalmail.net (2011-11-09 14:47) uploaded: app_init.diff

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=app_init.diff&ticket=10718&fn=%2Fapp_init.diff





More information about the bugs mailing list