Rant warning!!!
Background.
I've been putting together a 2.5 RC1 (well, SVN 1502 actually) development site in conjunction with a client. It's a "sister" site to currently running 2.0.25 and so many of the products and other settings were copied over from it.
Contrary to my usual way of working the visuals (template) is near completion, if not completed and functional testing is underway. A couple of dummy orders are placed on the system...
What's this? The suburb is now called Address Line 2 (can live with that) but is flamin' duplicated. Strange!
Go check the database entries in Address Book and Orders - nope they're fine. Time to trace the code then...
Literally, after hours, I finally discovered what's going on.
[Now, I'm sure this has changed for some flimsy legitimate reason, like Google Checkout or Fedex shipping, or something.]
Rather than the suburb line simply being checked for an entry, it is now concatenated, along with a "cr" or "br", to the end of the Street (Address Line 1). Loads of knock-on effect, including emails. Why did it rear its' ugly head in this particular situation? Well the address_format database table was already set for what was the correct UK format of ...$street$cr$suburb... so with an easy change using phpmyadmin it now reads ...$streets...
Easy, when you know how & why.
Go figure!
Change for good is, well good; change for the sake of it, is well... ((insert suitable word)).
Another couple of days wasted, when my few grey cells should be thinking about something else.
EJ
[Back to thinking about Multi-store (beta stage), YMM (RC stage) and T-shirt Designer (infancy stage)]
Bookmarks