Author Topic: Problem with order history  (Read 4781 times)

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Problem with order history
« on: October 23, 2008, 10:56:33 AM »
I have placed over 300 test orders and the count is correct on the Order history page:
Quote
Displaying 1 to 10 (of 302 orders)
When I click next it goes to the set of orders:
Quote
Displaying 11 to 20 (of 302 orders)
But then it continues to display this same set of orders over and over with each click
Quote
Displaying 11 to 20 (of 302 orders)
Can someone check to see if this will display all the orders on their system?
In other words, is this a bug or something I created during modifications?

kate

  • Administrator
  • Sr. Member
  • *****
  • Posts: 221
    • View Profile
    • KonaKart Website
Re: Problem with order history
« Reply #1 on: October 23, 2008, 11:06:58 AM »
I don't get this problem with a vanilla install of KonaKart version 2.2.6.0 (after creating more than 30 test orders) so maybe it's something you've done?   I can page through the orders as you would expect.

-- Kate

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #2 on: October 23, 2008, 11:27:52 AM »
Your test was running in a portal?

ryan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 190
    • View Profile
    • KonaKart Website
Re: Problem with order history
« Reply #3 on: October 24, 2008, 12:24:28 AM »
How did you modify the Admin App to run it in a portal ? Is it in a frame within a portlet ?

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #4 on: October 24, 2008, 09:22:16 AM »
I haven't modified the admin app. It's still running as a stand alone tomcat app.  I'm refering to the customers order histoy page in the my account section.

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #5 on: October 24, 2008, 09:27:34 AM »
Sorry for a double reply...

I should add that I have not modified any of the jsp pages or the actions that are associated with the order history pages.

ryan

  • Administrator
  • Sr. Member
  • *****
  • Posts: 190
    • View Profile
    • KonaKart Website
Re: Problem with order history
« Reply #6 on: October 24, 2008, 09:33:54 AM »
I have 16 orders on our online demo and can manage to page them OK using the Jetspeed demo.

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #7 on: October 24, 2008, 09:53:43 AM »
Once you get over 20 is where the problem is happening for me. 

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #8 on: November 03, 2008, 02:57:38 PM »
I tested it on the demo at
Quote
http://www.konakart.com/jetspeed/portal/
and the same problem happens.  Once you get over 20 orders the next button will not display the remaining orders.

I have also noticed that the next button for catalog items will not advance to the next group either.

sashwill

  • Full Member
  • ***
  • Posts: 58
    • View Profile
Re: Problem with order history
« Reply #9 on: November 19, 2008, 05:25:45 PM »
After a few weeks of digging, I finally discovered the answer.

You have to add:
Code: [Select]
<action path="/NavigateProd"/>
<action path="/NavigateAllOrders"/>
to the <portlet-url-type> tag in the struts-portlet-config.xml file and add redirect=”true” to the forwards in the struts-config.xml

Here is a good resource for helping to understand the struts-portal-bridge
http://www.ja-sig.org/wiki/display/PLT/Struts+Bridge