|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic PortletPortletSession attributes aren null when using Spring instead of Generic Portlet
-------------------------------------------------------------------------------- Key: PLUTO-435 URL: https://issues.apache.org/jira/browse/PLUTO-435 Project: Pluto Issue Type: Bug Affects Versions: 1.1.4 Environment: Jetty 6.1.5 Maven 2.0.4 Pluto 1.1.4 Eclipse 3.2.2 Sun JVM - 1.5 Reporter: Michal Capo When I use Spring Portlet support for developing portlets I get got this problem: (handleAction) request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); (handleRender in the same portlet) String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); (variable 'a' is null) I have attached a little test portal. You can run it by following this steps: 1. unzip this file 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' OK I know this is not simply... but you can debug portlets if you want Problem: - click on the first 'click me' link -> everything is ok - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) - restart TestPortal - click on the second 'click me' link and you got exception I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Updated: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michal Capo updated PLUTO-435: ------------------------------ Attachment: test1.zip Maven project with testing portal > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12530538 ] Elliot Metsger commented on PLUTO-435: -------------------------------------- I added some comments on http://opensource.atlassian.com/projects/spring/browse/SPR-3905. > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Assigned: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Elliot Metsger reassigned PLUTO-435: ------------------------------------ Assignee: Elliot Metsger > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Assignee: Elliot Metsger > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578322#action_12578322 ] Elliot Metsger commented on PLUTO-435: -------------------------------------- Michael can you pull down a new release candidate for me and see if this issue is fixed for you - 1.1.5 hasn't been released (it is being voted on now). You can download the test build from http://people.apache.org/builds/portals-pluto/. the container-bin distro is probably what you want - the 1.1.5 bin should be a drop-in replacement for the 1.1.4 binaries. > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Assignee: Elliot Metsger > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579339#action_12579339 ] Michal Capo commented on PLUTO-435: ----------------------------------- Yes it is the same. It is the problem with 'lastAccessedTime'. If it is fixed in version 1.2.0 then this bug is solved. > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Assignee: Elliot Metsger > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Resolved: (PLUTO-435) PortletSession attributes aren null when using Spring instead of Generic Portlet[ https://issues.apache.org/jira/browse/PLUTO-435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Dalquist resolved PLUTO-435. --------------------------------- Resolution: Fixed Fix Version/s: 1.1.5 This appears to have been committed and included in 1.1.5 > PortletSession attributes aren null when using Spring instead of Generic Portlet > -------------------------------------------------------------------------------- > > Key: PLUTO-435 > URL: https://issues.apache.org/jira/browse/PLUTO-435 > Project: Pluto > Issue Type: Bug > Affects Versions: 1.1.4 > Environment: Jetty 6.1.5 > Maven 2.0.4 > Pluto 1.1.4 > Eclipse 3.2.2 > Sun JVM - 1.5 > Reporter: Michal Capo > Assignee: Elliot Metsger > Fix For: 1.1.5 > > Attachments: test1.zip > > > When I use Spring Portlet support for developing portlets I get got this problem: > (handleAction) > request.getPortletSession().setAttribute("a", "a", PortletSession.APPLICATION_SCOPE); > (handleRender in the same portlet) > String a = request.getPortletSession().getAttribute("a", PortletSession.APPLICATION_SCOPE); > (variable 'a' is null) > I have attached a little test portal. You can run it by following this steps: > 1. unzip this file > 2. run 'mvn eclipse:eclipse' (or your other favorit IDE) > 3. run/debug file 'src/main/java/org/apache/pluto/test/test1/TestPortal.java' (within Eclipse) > 4. open you favorite browser and go to 'http://localhost:8080/test1/test-portal/index.jsp' > OK I know this is not simply... but you can debug portlets if you want > Problem: > - click on the first 'click me' link -> everything is ok > - now click on the second one 'click me' -> oops (problem should appeare here, but is ok) > - restart TestPortal > - click on the second 'click me' link and you got exception > I thought this is spring problem, so I reported this to http://opensource.atlassian.com/projects/spring/browse/SPR-3905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel, but it seams like to be container (pluto) problem not problem of spring portlet support. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free Forum Powered by Nabble | Forum Help |