JavaPropertiesLanguageService not loaded in TF 1.1.4-SNAPSHOT

9 views
Skip to first unread message

Neil Fan

unread,
Apr 22, 2013, 9:39:26 PM4/22/13
to redbo...@googlegroups.com
Hi all,

I've setup a version of ReDBox institution build (1.6.1-SNAPSHOT) from the source code in Github, with reference of the-fascinator at version 1.1.4-SNAPSHOT.

It turns out that the dashboard view is showing all message id rather than the message text. As following

Also in the main.log I did not see the entry of "Initializing JavaPropertiesLanguageService..." as expected in TF source code

When install ReDBox 1.6 it seems all good. The message text are displayed on screen.



Is it because the LanguageService class is not packed in fascinator portal 1.1.4-SNAPSHOT ?

Thanks.

Cheers
Neil

Andrew Brazzatti

unread,
Apr 23, 2013, 10:32:17 PM4/23/13
to ReDBox Developer List
Hi Neil,

The LanguageService is wired in via the system-config.json does yours contain the following?

 "services": [
       {
           "id": "languageService",
           "className": "com.googlecode.fascinator.portal.services.impl.JavaPropertiesLanguageService",
           "config": {
               "propertiesDir": "${fascinator.home}/language-files/"
           }
       }
   ],

That should be all you need to get it up and running.

Thanks,
Andrew


Neil

--
You received this message because you are subscribed to the Google Groups "ReDBox Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redbox-dev+...@googlegroups.com.
To post to this group, send an email to redbo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msg/redbox-dev/-/xFAPGWTu9RAJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Neil Fan

unread,
Apr 24, 2013, 1:20:26 AM4/24/13
to redbo...@googlegroups.com
Hi Andrew,

Yes we do have this config in system-config.json.
It's together with service named reportManager and reportStats.

The other thing I found is when accessing the menu Admin->Reports, I got an error as following:

Script error: scripts/report/manageReports.py
Traceback (most recent call last):
  File "default/redbox/scripts/report/manageReports.py", line 15, in __activate__
AttributeError: '$ScriptingServices_13e3970991f' object has no attribute 'getService'
which suggesting that the getService() call is not valid in .py file.

Thanks.



Regards

Neil

Andrew Brazzatti

unread,
Apr 24, 2013, 2:57:06 AM4/24/13
to ReDBox Developer List
Hi Neil,

That certainly looks like you haven't got the latest ScriptingServices in your classpath. Trouble is this particular method has been present since the 1.1.3-SNAPSHOT releases and appears to be in the jars I just pulled down from our nexus. Can you confirm that there are no other versions of fascinator portal in your server/lib directory?

Thanks,
Andrew
Reply all
Reply to author
Forward
0 new messages