Forums / Bug Reports / Can not delete customer with more than 1 address entries.

Can not delete customer with more than 1 address entries.

Locked

Views: 2,361

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Feb 2008, 10:48 PM
#1
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Can not delete customer with more than 1 address entries.

Version: 1.3..8a

Im not even sure if this is a bug, but here goes: I was trying to delete my test account (which accidentally has more than 1 address entries.) I clicked delete and confirmed, the page reloads but nothing happens.

Something else is very weird as well: I clicked on edit and the account info is blank. (The info is there in the db tho, checked)

I re-uploaded customers.php but that still did work for me.

(I'm willing to give more server login if someone in the dev team want to check it out.)

Regards

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

26 Feb 2008, 5:17 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Can not delete customer with more than 1 address entries.

On my fresh v1.3.8a site, I just set up another customer, and added 3 addresses to it. I confirmed their existence in the admin by clicking on the "1 of 3" link.

Then I went to the admin and clicked on that customer. Then clicked the Delete button, then confirmed it.
Poof. All gone. Customer. Addresses. All is appropriately cleaned-up.
No errors.

What's unique about the site you're experiencing this on?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Feb 2008, 5:39 AM
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Can not delete customer with more than 1 address entries.

Let me think. I did not install this site myself so I'm not really sure which add-ons they used. However, I checked again and found 1 interesting thing:
When I click on a customer name, the url on the address bar is:
customers.php?search=blah&origin=index&page=1&cID=4&page=1
(which is correct)

However, the buttons on the right handside will lead to links like this:

customers.php?search=blah&origin=index&page=1&cID=&action=edit

You can notice that the cID is missing. Weird.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me