![]() |
Hosting plans error or normal behavior? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: Hosting plans error or normal behavior? (/thread-9367.html) |
Hosting plans error or normal behavior? - NIIcK - 01-26-2010 01:31 AM I have created a plan and set it up as not available for purchasing however if I access it from outside the system (as in going directly to the link) I can purchase the plan and it shows up in the Manage Orders area afterward. Even more, I can enable it and the user can actually get the plan. If necessary I can send the link to this plan via PM. Is this as it is supposed to be or am I doing something wrong? Regards, Nick RE: Hosting plans error or normal behavior? - joximu - 01-26-2010 10:10 PM which release of ispcp? RE: Hosting plans error or normal behavior? - NIIcK - 01-26-2010 11:49 PM (01-26-2010 10:10 PM)joximu Wrote: which release of ispcp? ispCP 1.0.3 OMEGA build: 20091224 Codename: Priamos RE: Hosting plans error or normal behavior? - joximu - 01-27-2010 12:19 AM ok, i'm gonna check on my system. It seems like this: in the overview of the plans - the disabled (hided) plans should not be visible: eg host/orderpanel/index.php?coid=&user_id=2 but the plan details are visible if someone just tries the id=...: /orderpanel/package_info.php?id=2&user_id=2 I don't know if this is an error. Maybe we should have more than two states (public, private, hidden - or similar...) /Joxi RE: Hosting plans error or normal behavior? - kilburn - 01-27-2010 12:32 AM Quote:but the plan details are visible if someone just tries the id=...: If it's not available for purchase it may or may not show, but nobody should be able to actually order it. Thus, I think that it's a simple bug, where the dev forgot to check if the plan is unavailable before rendering the page. Open a ticket ![]() RE: Hosting plans error or normal behavior? - NIIcK - 01-27-2010 04:16 AM Ok, cheers. I'll open a ticket about this. Cheers, Nick and the ticket ... http://www.isp-control.net/ispcp/ticket/2183 RE: Hosting plans error or normal behavior? - NIIcK - 01-27-2010 11:56 PM The bug has been fixed (thanks kilburn). The patch, tested by me and found working can be found here: http://www.isp-control.net/ispcp/ticket/2183 (see the attachment). Once again, thank you for your fast response! Great community! Nick |