[JBoss JIRA] (GTNPORTAL-2759) Extend skin service to include adding javascript and meta elements to the portal
by Matt Wringe (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2759?page=com.atlassian.jira.pl... ]
Matt Wringe resolved GTNPORTAL-2759.
------------------------------------
Resolution: Rejected
The viewport is controlled via a portal property and can be configured outside of the skin. So this is no longer needed.
We can add portal specific javascript using gatein-resources.xml, so this is a work around.
Ideally we could have a more extensive themeing engine to include things like skin + js + meta tags, but the main reasons for this issue (mobile support) no longer requires this.
> Extend skin service to include adding javascript and meta elements to the portal
> --------------------------------------------------------------------------------
>
> Key: GTNPORTAL-2759
> URL: https://issues.jboss.org/browse/GTNPORTAL-2759
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Mobile, User Interface
> Reporter: Matt Wringe
> Assignee: Matt Wringe
>
> As part of a mobile skin/theme, we need to add certain things to the portal page in order to properly handle mobile devices.
> This includes things like
> - adding a meta tag to control the viewport
> - adding skin specific javascript (to faciliate auto scroll to get the page to display full screen without the browser's nav bar and buttons)
--
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, 4 months
[JBoss JIRA] (GTNPORTAL-3176) Deleting a site used in redirects leads into NPE
by Boleslaw Dawidowicz (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3176?page=com.atlassian.jira.pl... ]
Boleslaw Dawidowicz updated GTNPORTAL-3176:
-------------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.7.0.Final
Resolution: Done
> Deleting a site used in redirects leads into NPE
> ------------------------------------------------
>
> Key: GTNPORTAL-3176
> URL: https://issues.jboss.org/browse/GTNPORTAL-3176
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.6.0.Final
> Reporter: Viliam Rockai
> Assignee: Alexandre Mendonça
> Fix For: 3.7.0.Final
>
>
> When you delete a site, which is used in portal redirects, it causes several bugs. For instance, try to delete "mobile" site (delete in site management menu). You can still see a link to mobile site in the redirect portlet at the bottom of the page and after accessing it's redirect configuration you'll see a NPE:
> 16:09:32,840 ERROR [stderr] (http-/127.0.0.1:8080-5) java.lang.NullPointerException
> 16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at org.gatein.ui.admin.redirect.beans.EditRedirectBean.loadRedirectNodes(EditRedirectBean.java:639)
> 16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at org.gatein.ui.admin.redirect.beans.EditRedirectBean.load(EditRedirectBean.java:605)
> 16:09:32,841 ERROR [stderr] (http-/127.0.0.1:8080-5) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--
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, 4 months