-- url of the page with the problem -- : local
-- HikaShop version -- : 2.5.0 Starter
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.5.3
Hi,
I'm presently in dev mode and playing with 3-5 users who I register in checkout with minimal address details: "Ask address on registration" = yes, published are only 1st & last names, country & state, "Use the same address as for billing" is checked for shipping address.
These dummy users order something, and then I'm deleting them to start all over again. Deletion goes "by the book", supposedly: in the backend only, first orders, then J users. I have also tried deleting shop users after the orders, then J users, but it's all the same as far as the "issue" goes.
BTW, Emerald is involved, but no extra action, subscription are deleted without a trace upon J user deletion.
Upon checking the database just to verify that all goes by the infamous book, indeed all is good and clean. With the exception of the table #__hikashop_address. And that's the issue: after a few cycles I'm left with some 20 rows there. Most fields are NULL, also the aforementioned ones which had been in use.
Further testing shows that it keeps going this way: address details are being stored in a new row, but upon user deletion the row stays - mostly NULL except for
address_id (= auto_increment number maintained)
address_user_id (= 0)
address_published (= 1)
address_default (= 1)
What is preventing from proper housekeeping?
I have no problem deleting those rows now with no user other than admin around, but my concern is the future:
Upon launch, the database will hold >10k addresses, hopefully growing, but with a certain fluctuation including deletions. At some point housekeeping might become a big mess, or this table will just keep growing... who knows to what size.
So, it'd be great if you could take a look at what is yet a small issue. Should be easily reproducible, otherwise it must be uniquely my problem, and I'll take any hint and get you what you need to find the culprit.
Thanks again!
P.S.: I should maybe add that it's really only J!3.4.4, HikaShop and Emerald, and not one file modded, even still Protostar