[ic] Saved / Recurring Cart DEBUG HELP !!

Jon interchange-users@icdevgroup.org
Sun Jan 26 21:54:01 2003


> > > At 12:26 AM 1/26/2003 -0500, you wrote:
> > > >Using IC 4.9.3 and MySQL
> > > >
> > > >I've read all over but haven't come across any solutions.
> > >
> > > You didn't perchance happen upon this one, did you?
> > >
> > > http://www.interchange.rtfm.info/docs/frames/icfaq_60.html
> > >
> > > It may or may not be any help.
> >
> > I did find that and though it did provide some good information
> > about how it is structured I wasn't able to gleam from it what
> > might be wrong.
> >
> > >
> > >
> > > >I've tried it on the 4.8.x demo and it appears to work there.
> > > >I haven't done anything to the guts of basket.html.
> > > >User does a save of cart and the cart's name appears
> > > >in the little box produced by saved_carts.html but
> > > >if the cart is selected nothing is in the view of basket.html.
> > > >If the user attempts to delete the saved cart via the 'x' it
> > > >doesn't go away it just stays there until another cart is
> > > >saved then the previous one is replaced with the new one.
> > > >
> > > >Another weird thing that might help.  After saving a cart
> > > >with some name...  Via UI.... select tables, then userdb,
> > > >then select the user, then select the Repositories tab.
> > > >On that view there is a field 'carts'.  If user saves a
> > > >cart then that field has a single left curly brace '{'
> > > >If the user attempts to delete the saved cart then that
> > > >field has two curly braces  '{}'     On the other hand
> > > >via PhpMyAdmin that field is set to BLOB.
> > > >So what should be saved in carts then ?
> > >
> > > Does the 4.9.x demo on icdevgroup.org work?
> >
> > I couldn't log on as a user to the latest 4.9.x demo to
> > test it, but I did try the 4.8.x demo and that worked.
> > I'm assuming that area hasn't been changed between
> > the releases but maybe I'm wrong here.
> > Anyone know for sure ?
> >
>
>     I'm trying to debug this back through the functional code
> but not having much progress. In the interest of dividing
> and conquering maybe some one could give me an idea
> how to easily determine whether the problem is in saving
> or retrieving the cart.  Thanks.
>

    In case some one is interested.....
    I'm making progress. I replaced my save_cart.html and
basket.html with the original versions, however, the only
difference is in the components layout per the diff I ran.

    The only problem I know of now is that when I delete
a saved cart it doesn't disappear from the list unless I
close the browser. Obviously it is some cached problem
I just haven't found it yet... Anyone ??

Thanks
Jon