Issue 839 - Pluf_Translation::getLocale() can be called before Pluf_Translation::loadSetLocale() (pluf)

2 views
Skip to first unread message

no-r...@ceondo.com

unread,
Mar 18, 2013, 7:52:55 AM3/18/13
to pluf-u...@googlegroups.com
Hello,

A new issue has been created and assigned
to you:

839 - Pluf_Translation::getLocale() can be called before Pluf_Translation::loadSetLocale()
Project: Pluf Framework
Status: New
Reported by: Arnaud Gomes
Labels:
Priority:Medium
Type:Defect

Description:

This is the case in Indefero, where SVN commit cause the following exception:

PHP Fatal error: Uncaught exception 'PlufErrorHandlerException' with message 'Undefined index: _PX_current_locale' in /home/www/pluf/src/Pluf/Translation.php:73

Here is a patch taken from the IRC log at https://data.softwareliber.ro/irc-logs/%23indefero/%23indefero.21-08-2010.log

Attachments:
- pluf-getLocale.diff - 410 bytes
http://projects.ceondo.com/p/pluf/issues/view/attachment/329/pluf-getLocale.diff

--
Issue: http://projects.ceondo.com/p/pluf/issues/839/


no-r...@ceondo.com

unread,
Jun 26, 2013, 8:42:20 AM6/26/13
to pluf-u...@googlegroups.com
Hello,

The following issue has been updated:

839 - Pluf_Translation::getLocale() can be called before Pluf_Translation::loadSetLocale()
Project: Pluf Framework
Status: New
Reported by: Arnaud Gomes
URL: http://projects.ceondo.com/p/pluf/issues/839/
Labels:
Priority:Medium
Type:Defect

Comments (last first):

# By Jethro Carr, Jun 26, 2013:

Nice patch Arnaud, this fixed the issue for me too.

# By Arnaud Gomes, Mar 18, 2013:

no-r...@ceondo.com

unread,
Aug 19, 2013, 11:35:23 AM8/19/13
to pluf-u...@googlegroups.com
Hello,

The following issue has been updated:

839 - Pluf_Translation::getLocale() can be called before Pluf_Translation::loadSetLocale()
Project: Pluf Framework
Status: New
Reported by: Arnaud Gomes
URL: http://projects.ceondo.com/p/pluf/issues/839/
Labels:
Priority:Medium
Type:Defect

Comments (last first):

# By مصطفی برمشوری, Aug 19, 2013:

Thanks

# By Jethro Carr, Jun 26, 2013:

Nice patch Arnaud, this fixed the issue for me too.

# By Arnaud Gomes, Mar 18, 2013:

Reply all
Reply to author
Forward
0 new messages