Jump to content
thirty bees forum
  • 0

Address edition from customers broken - any tips for debugging?



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.



Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
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.

Link to comment
Share on other sites

  • 0

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.


Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

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...