When you spend 2 hours debugging...

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

When you spend 2 hours debugging...

Post by AbleMods » Wed Oct 26, 2016 5:43 am

a custom field added to a table and it just won't save. You save the object. You save the parent object. You save BOTH the object AND the parent object. You loop through the entire collection saving everything with a .Save() method just because nothing else is working.

And then finally you realize you only added the property to the class, you never updated the nHibernate hbm file...
42365597.jpg
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Katie
AbleCommerce Admin
AbleCommerce Admin
Posts: 2651
Joined: Tue Dec 02, 2003 1:54 am
Contact:

Re: When you spend 2 hours debugging...

Post by Katie » Wed Oct 26, 2016 6:19 am

Aren't you kind of young to be programming? :)
Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: When you spend 2 hours debugging...

Post by AbleMods » Wed Oct 26, 2016 6:39 am

HA!

I just wish I still had that much hair :roll:
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: When you spend 2 hours debugging...

Post by jmestep » Thu Oct 27, 2016 8:13 am

Or if you are in a repeater and only every other item shows. Duh, don't filter for only ListItemType.Item, filter for ListItemType.AlternatingItem also.
I just did that today.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply