Bug - Fixed Store Manager forgetting my items?

Bale

Minion
I have my store manager in a tab. From time to time when I check on my items I find that there are no items in my store!! Okay, they re-appear when I click on "refresh" so they're still there, but even so.

I have found one reliably replicatable case to demonstrate this bug.
  1. Have Store Manager in your tabs. (It is my last tab -- I don't know if that is important.)
  2. Click on the "Store Manager" Tab.
  3. Click on the "Store Log" sub-tab.
  4. Click "refresh" to see what has been sold.
  5. Click on any tab to the left of the Store Manager.
  6. Click on "Store Manager" tab.
  7. Click on "Price Setup" sub-tab.


And voila! I no longer have any items.
 

Bale

Minion
Works perfectly now. Thank you.

I guess the reason I said to switch to another tab first instead of going straight back to price setup was a redrawing issue? Because I did try to do it more directly with mixed results.
 

Veracity

Developer
Staff member
I ignored your comments about tabs.

I knew it had something to do with code I recently added to parse your Store Inventory when simply visiting your store in the Relay Browser. I.e. with no "action".

I didn't take into account that fetching store logs also has no "action".
 

Bale

Minion
So it was obvious to you and a reliably reproducible case wasn't necessary? Sigh. It took me a week to come up with that solution.
 

Veracity

Developer
Staff member
Well, I did this.

1) debug on
2) Opened Store Manager
3) Switch to Store Logs
4) Updated Logs
5) Switch to Price Setup
6) Saw a blank inventory
7) debug off

The DEBUG log had this:

Requesting: https://www.kingdomofloathing.com/manageprices.php
Requesting: https://www.kingdomofloathing.com/backoffice.php?which=3

That was it. Notice no "action=xxx" in the backoffice.php request.
 
Top