You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Roberto E.L. (JIRA)" <ji...@apache.org> on 2014/07/10 12:32:04 UTC

[jira] [Updated] (OPENMEETINGS-1038) PrivateRoom Widget is displayed when dashboard.show.myrooms key is disabled

     [ https://issues.apache.org/jira/browse/OPENMEETINGS-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roberto E.L. updated OPENMEETINGS-1038:
---------------------------------------

    Attachment: om_1038.patch

Thanks Maxim,

I have tested this patch in my environment and it works fine. The widgets are removed/added from/to the dashboard in the next login of user.

I have added some comments into the code for explain the changes.

Best Regards





> 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)