[JBoss JIRA] (GTNPORTAL-2941) Improve the configurability of CookieTokenService
by Minh Hoang TO (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2941?page=com.atlassian.jira.pl... ]
Minh Hoang TO updated GTNPORTAL-2941:
-------------------------------------
Labels: done (was: )
> Improve the configurability of CookieTokenService
> -------------------------------------------------
>
> Key: GTNPORTAL-2941
> URL: https://issues.jboss.org/browse/GTNPORTAL-2941
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Julien Viet
> Assignee: Minh Hoang TO
> Labels: done
>
> The current CookieTokenService needs to find the codeckey.txt file and for this reason it relies on gatein.conf.dir property value.
> The consequence of this is the need for hacks in the testsuite in:
> - AbstractTokenServiceTest
> - TestSimpleGeneratorService
> that needs to override beforeRunBare to setup the gatein.conf.dir
> To solve this issue the CookieTokenService should have a property defined in XML configuration set to {{${gatein.conf.dir}/codec/codeckey.txt}} at runtime and to the appropriate value for unit tests in tokenservice-configuration.xml .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2941) Improve the configurability of CookieTokenService
by Minh Hoang TO (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2941?page=com.atlassian.jira.pl... ]
Minh Hoang TO updated GTNPORTAL-2941:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/418
> Improve the configurability of CookieTokenService
> -------------------------------------------------
>
> Key: GTNPORTAL-2941
> URL: https://issues.jboss.org/browse/GTNPORTAL-2941
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Julien Viet
> Assignee: Minh Hoang TO
>
> The current CookieTokenService needs to find the codeckey.txt file and for this reason it relies on gatein.conf.dir property value.
> The consequence of this is the need for hacks in the testsuite in:
> - AbstractTokenServiceTest
> - TestSimpleGeneratorService
> that needs to override beforeRunBare to setup the gatein.conf.dir
> To solve this issue the CookieTokenService should have a property defined in XML configuration set to {{${gatein.conf.dir}/codec/codeckey.txt}} at runtime and to the appropriate value for unit tests in tokenservice-configuration.xml .
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2811) The portlet modes are sometimes displayed selected in latest versions of FF and Chrome
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2811?page=com.atlassian.jira.pl... ]
Vu Viet Phuong reassigned GTNPORTAL-2811:
-----------------------------------------
Assignee: Vu Viet Phuong
> The portlet modes are sometimes displayed selected in latest versions of FF and Chrome
> --------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-2811
> URL: https://issues.jboss.org/browse/GTNPORTAL-2811
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: User Interface
> Affects Versions: 3.2.0-GA, 3.5.0.Final
> Environment: GateIn-3.5.0.Final-tomcat7/GateIn-3.2.0.Final-tomcat6
> Java 1.6.0_37
> Firefox 16.0.2/17.0.1/18.0.1 and Chrome 24.0.1312.56
> Reporter: Nicolas Filotto
> Assignee: Vu Viet Phuong
> Priority: Minor
> Labels: portal-s70
> Attachments: Portlet-Modes.jpg
>
> Original Estimate: 5 hours
> Remaining Estimate: 5 hours
>
> It seems that there is a display issue on latest versions of FF and Chrome when we show the portlet modes, indeed sometimes the labels are selected by default as you can see in the screenshot and sometimes it appears normally. After a deeper investigation it seems to be due to the fact that FF believes that we want to select the content by left clicking on the arrow, one way to fix it is to use the trick described here http://stackoverflow.com/questions/69430/is-there-a-way-to-make-text-unse.... By simply adding the css attributes of the class {{unselectable}} in the div of class {{ControlIcon}}, I could fix the issue on chrome and FF (did not test on other browsers). In other words, I modified the file webapps/portal/groovy/portal/webui/application/UIPortlet.gtmpl to replace
> {code}
> <div class="ControlIcon ArrowDownIcon" title="<%=_ctx.appRes("UIPortlet.tooltip.PortletMode");%>" style="position: relative;">
> {code}
> with
> {code}
> <div class="ControlIcon ArrowDownIcon" title="<%=_ctx.appRes("UIPortlet.tooltip.PortletMode");%>" style="position: relative;-moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none;user-select: none;" unselectable="on">
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2951) NPE when accessing the redirect admin
by Matt Wringe (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2951?page=com.atlassian.jira.pl... ]
Matt Wringe commented on GTNPORTAL-2951:
----------------------------------------
Warnings which appear in the logs right before the errors occurs:
17:14:29,638 WARNING [javax.enterprise.resource.webcontainer.jsf.application] (http-/127.0.0.1:8080-3) JSF1064: Unable to find or serve resource, font-awesome/font//fontawesome-webfont.eot', from library, org.richfaces.
> NPE when accessing the redirect admin
> -------------------------------------
>
> Key: GTNPORTAL-2951
> URL: https://issues.jboss.org/browse/GTNPORTAL-2951
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Mobile
> Reporter: Matt Wringe
> Assignee: Alexandre Mendonça
>
> When accessing the redirect admin on gatein master, the logs are filled with NPEs:
> Caused by: java.lang.NullPointerException
> at org.gatein.portlet.responsive.features.FeaturesPortlet.generateFeaturePageLink(FeaturesPortlet.java:63)
> at org.gatein.portlet.responsive.features.FeaturesPortlet.doView(FeaturesPortlet.java:50)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354) [portlet-api-2.0.jar:]
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:259) [portlet-api-2.0.jar:]
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:592) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2951) NPE when accessing the redirect admin
by Matt Wringe (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2951?page=com.atlassian.jira.pl... ]
Matt Wringe updated GTNPORTAL-2951:
-----------------------------------
Steps to Reproduce:
1) start server in a clean state. This usually means starting the server from a fresh install or deleting standalone/data/gatein. This error does not occur when the server has been stopped.
2) access the mobile site
3) access the redirect admin from the mobile site
> NPE when accessing the redirect admin
> -------------------------------------
>
> Key: GTNPORTAL-2951
> URL: https://issues.jboss.org/browse/GTNPORTAL-2951
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Mobile
> Reporter: Matt Wringe
> Assignee: Alexandre Mendonça
>
> When accessing the redirect admin on gatein master, the logs are filled with NPEs:
> Caused by: java.lang.NullPointerException
> at org.gatein.portlet.responsive.features.FeaturesPortlet.generateFeaturePageLink(FeaturesPortlet.java:63)
> at org.gatein.portlet.responsive.features.FeaturesPortlet.doView(FeaturesPortlet.java:50)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354) [portlet-api-2.0.jar:]
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:259) [portlet-api-2.0.jar:]
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:592) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[JBoss JIRA] (GTNPORTAL-2951) NPE when accessing the redirect admin
by Matt Wringe (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2951?page=com.atlassian.jira.pl... ]
Matt Wringe reassigned GTNPORTAL-2951:
--------------------------------------
Assignee: Alexandre Mendonça (was: Matt Wringe)
OK, I have looked into this issue a bit more, it is related to the redirect admin.
For some reason the site is being set as "Site.Id[type=space, name=font-awesome]" and the redirect site is the only thing using font-awesome.
Not sure why its being set as this though.
> NPE when accessing the redirect admin
> -------------------------------------
>
> Key: GTNPORTAL-2951
> URL: https://issues.jboss.org/browse/GTNPORTAL-2951
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Mobile
> Reporter: Matt Wringe
> Assignee: Alexandre Mendonça
>
> When accessing the redirect admin on gatein master, the logs are filled with NPEs:
> Caused by: java.lang.NullPointerException
> at org.gatein.portlet.responsive.features.FeaturesPortlet.generateFeaturePageLink(FeaturesPortlet.java:63)
> at org.gatein.portlet.responsive.features.FeaturesPortlet.doView(FeaturesPortlet.java:50)
> at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:354) [portlet-api-2.0.jar:]
> at javax.portlet.GenericPortlet.render(GenericPortlet.java:259) [portlet-api-2.0.jar:]
> at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:592) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
> at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159) [pc-portlet-2.4.1.CR03.jar:2.4.1.CR03]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months