Jump to content
thirty bees forum
  • 0

Address edition from customers broken - any tips for debugging?


Question

Posted

Hello everybody!

I am writing an article about ThirtyBees for a reputable IT magazine. I have hit a roadblock during testing.

 

Steps to reproduce:

* Install ThirtyBess 1.5.1 (PHP 8.2 edition) on OpenBSD 7.5 (-current) with an Apache stack, with Spanish Localization.

* Remove all Zones, Countries and States but the Spanish ones.

* Configure a bunch of dummy Carriers and set the Bankwire module with a dummy configuration.

* Create a dummy product.

* Visit the front office, add the dummy product to cart, proceed  to standard checkout.

* Create a user. Create address for the user.

* With all the fields filled correctly, the address edition process seems stuck in a loop -> everytime you try to save the address, it reloads as if you had entered a wrong field or forgotten to fill a mandatory field.

 

It looks like when I move to Localization and remove the phone_mobile field from the address format for the country, the error stops happening.

 

If anybody has any suggestions for further debugging, I'd love to hear them.

 

Cheers!

5 answers to this question

Recommended Posts

  • 0
Posted
3 hours ago, the.rampage.rado said:

If you don't delete anything in step 2 do you observe the same behavior? 

No, I don't. It works as intended.

Now I am confused as to why Thirtybees misfires if I remove localization data I don't intend to use.

  • 0
Posted

Oh, it is not about optimization. I just like my admin dashboards decluttered from things I don't use. Removing countries and zones not in use seemed like a good idea at the time.

 

I am going to move on with the loc rows untouched for the time being. Still, it seems to me like leaving the unused Localization data alone in order to have an operational shop is sweeping a bug under the proverbial carpet. If anybody wants me to try something else in order to squash the bug then I will be happy to assist.

 

  • 0
Posted

Hello again.

I am happy to announce this was a PEBKAC error. I had accidentally disabled the Zone that covered the country I wanted to test against (urgh).

Thank you for bearing with me.

  • Haha 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...