Beta 5: Zone Issues

Posts: 30
Joined: 01/30/2008

*Using Drupal 5.7
*Using Ubercart Beta 5
*Using Firefox 2.0.0.12

2 things:

*I screwed up my system table, but I fixed it by running Drupal's install.php script. I had to reactivate my modules, and when I did this I noticed there were duplicate entries in uc_zones. Are there any other things I should worry about in regards to duplicates?

*Changing the Country selection doesn't update the Zones until a second or two later. It should update it on a selection change. I think that's a javascript function.... :-\

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Yeah, redoing the system table will result in trouble. Drupal runs the install functions for modules when they're enabled w/ no install history in the system table. For the store module, that means bringing in the U.S. and Canada zones again. I'd go to your country settings and remove everything and re-enable the countries.

And the lag time is due to an AJAX call. I think a "loading" icon would be appropriate there. I'll see if I can cook one up.

Posts: 30
Joined: 01/30/2008

Countries are OK...it's just the Zones that had duplicates.

Posts: 822
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Ryan wrote:
I'd go to your country settings and remove everything and re-enable the countries.

Yes, Ryan is telling you how to fix the zones. Removing the countries will clear the zone tables, then you re-install the countries to rebuild the zones.

--

<tr>.

Posts: 30
Joined: 01/30/2008

Yeah, I already did that stuff even before I posted here. I simply deleted the duplicate entries in the uc_zones table. Luckily, the dupes were right after the original entries, e.g., ABCABCABC, not AAABBBCCC.

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Ryan wrote:
And the lag time is due to an AJAX call. I think a "loading" icon would be appropriate there. I'll see if I can cook one up.

Added throbbers today to the dynamic zone select boxes and the order total preview div to indicate pending activity. Smiling

Posts: 30
Joined: 01/30/2008

Great! Thanks! I'm assuming it will be in Beta 6 or RC1? (Whatever gets released next)

Posts: 4368
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Aye.