i18n tag broken in 1.1 due to missing jar

Bug #576038 reported by dirk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Fix Committed
Undecided
Erwan Loisant
1.1
Fix Committed
Undecided
Erwan Loisant

Bug Description

I recently updated my play from 1.1 src and found that the i18n tag no longer works. It appears that a jar it depended on is now missing:

Template execution error
Execution error occured in template {play}/framework/templates/tags/i18n.tag. Exception raised was NullPointerException : Cannot get property 'zenexity' on null object.
In {play}/framework/templates/tags/i18n.tag (around line 3)
1: %{
2: // @since play rev138
3: js_messages=fr.zenexity.json.JSON.toJSON( play.i18n.Messages.all(play.i18n.Lang.get()));
4: ...

I fixed this by using GSON instead:
4: js_messages=new com.google.gson.Gson().toJson( play.i18n.Messages.all(play.i18n.Lang.get()));

Revision history for this message
dirk (australiandeveloper) wrote :

Hi, has there been any progress on this?
It's been open for 2 months.
Thanks,
Dirk

Revision history for this message
dirk (australiandeveloper) wrote :
Erwan Loisant (eloisant)
Changed in play:
assignee: nobody → Erwan Loisant (eloisant)
Erwan Loisant (eloisant)
Changed in play:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.