[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057484#comment-14057484
 ] 

Roberto E.L. commented on OPENMEETINGS-1038:
--------------------------------------------

I have checked the patch. It works when the language is changed, because it's 
using the method getString() of Websession class to initialize the vMyRoomTitle 
and wRssTitle variables (lines 7-8)

String wMyRoomTitle =this.getString(781L);
String wRssTitle = this.getString(277L);

This method, returns  the title of widgets ("My rooms", "News")  from the 
fieldlanguagesvalues table.






> PrivateRoom Widget is displayed when dashboard.show.myrooms key is disabled
> ---------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-1038
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1038
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: HTML5/Dashboard
>    Affects Versions: 3.0.3
>            Reporter: Roberto E.L.
>            Priority: Minor
>         Attachments: om_1038.patch
>
>
> dashboard.show.myrooms doesn't work when the profile of user is created 
> before to change the key. This problem affects to dashboard.show.rssfeed key 
> too.
> I found the bug in the initDashboard() method of 
> src/web/java/org/apache/openmeetings/web/app/WebSession.java class. It only 
> considers the value of keys when the profile of user is created for the first 
> time. If the profile exist, it initializes all the widget stored into it 
> (/opt/red5/webapps/openmeetings/upload/profiles/) without check the value of 
> keys.
> I have written a patch for fix the problem. How can I send you the patch?. If 
> I paste it to this description box, the code is unreadable.
> Best regards.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to