This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 136922

Summary: incorrect redirect when no session
Product: updatecenters Reporter: hlavki <hlavki>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: VERIFIED FIXED    
Severity: blocker CC: wadechandler
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description hlavki 2008-06-10 14:23:37 UTC
When I am trying to open plugin page e.g.
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=6887

first time I am redirected to: 
http://plugins.netbeans.org/PluginPortal/faces/MainPage.jsp

after session is created everything works good...
Comment 1 Jiri Kovalsky 2008-06-10 14:52:49 UTC
Many people complain about this defect so raising priority to P2. David, when do you think you could take a look at this
issue?
Comment 2 David Botterill 2008-06-10 23:05:24 UTC
I've fixed this but the fix won't be active until the next push which should be toward the end of June.
Comment 3 Jiri Kovalsky 2008-07-10 10:33:30 UTC
Changing version to Phase 3 and target milestone to TBD.
Comment 4 hlavki 2008-07-24 16:06:58 UTC
What's wrong with this annoying issue? Is there some problem with deployment?
Comment 5 Jiri Kovalsky 2008-07-25 19:42:37 UTC
David fixed the bug but he didn't manage to deploy the application to the live server because he changed job in the
meantime. Unfortunately, there is currently nobody who could do that instead. We are looking for a new Plugin Portal
owner. Don't you want to take this over Michal?
Comment 6 David Botterill 2008-07-25 19:59:51 UTC
Some more background...

I've had to go to great lengths to support "GET" style links in the Plugin Portal since it's using JSF on the backend. 
In the implementation, I do checks so I can build the page state on the fly rather than relying on JSF.  The last
version I fixed and enhanced the "GET" style URL support but also introduced this annoying defect.  As Jiri pointed out,
I've fixed this in the version coming up soon.  I'm truly sorry for the hassle this has caused everyone. :(
Comment 7 hlavki 2008-07-30 11:55:24 UTC
Thanks for offer Jirka, but I don't think that I am right guy with web skills for this.
Btw. Is the plug-in portal open source?
Comment 8 David Botterill 2008-08-08 04:38:32 UTC
*** Issue 143259 has been marked as a duplicate of this issue. ***
Comment 9 Jiri Kovalsky 2008-08-11 19:42:53 UTC
Yes, it is open sourced [1] however the latest sources (Phase 4) are still on David's laptop. Phase 3 sources are in old
CVS repository.

[1] http://hg.netbeans.org/main/file/tip/pluginportal
Comment 10 jcatchpoole 2008-10-13 11:35:41 UTC
*** Issue 149874 has been marked as a duplicate of this issue. ***
Comment 11 Maksim Khramov 2008-12-15 14:07:31 UTC
Fixed.
Comment 12 _ wadechandler 2008-12-15 14:40:32 UTC
Has this actually been deployed? I saw the email and figured I better try it. I tried:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=2748

but in a new browser, with no session, it took me to the front page of plugins, and then I had to enter the URL again to
get there.
Comment 13 Jiri Kovalsky 2008-12-15 14:47:39 UTC
Not yet. It's fixed in Phase IV while currently we still have Phase III live. I hope to test Phase IV (containing a lot
of other fixes as well) this week so that we can deploy it soon.
Comment 14 Jiri Kovalsky 2009-01-26 18:07:51 UTC
*** Issue 157440 has been marked as a duplicate of this issue. ***
Comment 15 Jiri Kovalsky 2009-03-09 09:11:37 UTC
The incorrect redirect is fixed now. Thanks for your bug report!