bjsion / tongue-tied

Translation and resource management tool
1 stars 0 forks source link

.Net resource export throws error when translation value is null #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new keyword with a translation with an empty value
2. Select the export tab and create a criteria that matches the newly
created translation
3. Create export

What is the expected output? What do you see instead?
The expected output should be a DotNet Resourece (resx) file containing all
translations that match the criteria. Instead the following error is thrown
because the translation value is empty:

An internal error has occurred in the system. The action you were
attempting cannot be recovered. Please inform your system administrator.

    org.tonguetied.datatransfer.exporting.ExportException:
fmpp.ProcessingException: FMPP processing session failed.

org.tonguetied.datatransfer.DataServiceImpl.exportData(DataServiceImpl.java:182)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
...

the root error is :

Caused by: freemarker.core.InvalidReferenceException: Expression
translation.value is undefined on line 74, column 18 in resx.ftl.

Original issue reported on code.google.com by bjs...@gmail.com on 11 Jul 2009 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by bjs...@gmail.com on 11 Jul 2009 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by bjs...@gmail.com on 11 Jul 2009 at 6:46