[gatein-issues] [JBoss JIRA] Reopened: (GTNPORTAL-1014) Returned currentView does not match enum view
Matt Wringe (JIRA)
jira-events at lists.jboss.org
Mon Apr 12 15:23:37 EDT 2010
[ https://jira.jboss.org/jira/browse/GTNPORTAL-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Wringe reopened GTNPORTAL-1014:
------------------------------------
This breaks compatibility with third party google gadgets.
When ever I try and add the hamster gadget (http://hosting.gmodules.com/ig/gadgets/file/109548057311228444554/sloth.xml) to a page now it gives an error message:
"Unable to locate an appropriate view in this gadget. Requested: 'HOME' Available: [home, canvas]"
It looks like you need to check the case sensitivity.
This gadget used to work properly.
> Returned currentView does not match enum view
> ---------------------------------------------
>
> Key: GTNPORTAL-1014
> URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1014
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.0.0-GA
> Reporter: dang tung
> Assignee: kien nguyen
> Fix For: 3.1.0-GA
>
> Attachments: gadgetview.patch
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Can not use enum view to compare.
> Suppose the current gadget's view is: canvas.
> var currentView = gadgets.views.getCurrentView().getName();
> The desired value: currentView is gadgets.views.ViewType.CANVAS (= 'CANVAS').
> but the returned value is: 'canvas'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list