Coldfusion 9 Cumulative Hot Fix 1 broke all my Mach-II apps

Mach-II , ColdFusion 2 Comments »

It seems like Coldfusion 9 Cumulative Hot Fix 1 broke all my Mach-ii apps! Spent a day trying to debug everything rolling back my changes,
updating Mach-II etc. just to find out it was the hot fix!

Was getting all kind of weird errors on dependency injection from coldspring. I use CF ORM as well.

I'm glad I did the update only on my local machine. 

Any one else seen it? All is well now that I removed the hot fix...

Update:

This has been verified by Adobe (Bug # 82621). Here is the response from one of Adobe Engineer:

"Engineering was able to reproduce the issue you have reported and found that this issue is same as another bug we fixed recently. Bug – 82504. This bug is also caused because of regression with CHF  1. We are planning to release this bug fix along with CHF 2"

Keywords: No Parent error, CHF 1

ColdFusion Builder is here!!

ColdFusion Builder , Flash Builder No Comments »

ColdFusion Builder is finally here! You can buy it from here.

I have to say, I'm surprised by pricing. In a good way. At $299, it sure is worth the money. But there is more... You also get a complimentary license for Flash Builder 4 (Standard) with it! Additionally Flash Builder 4 now include pretty much all the features. See here for a version comparison.

Find out a CFBuilder tour near you to explore what CFB can do for you. If you are in Boston area, don't miss this one.

ORM entityDelete() bug?

Mach-II , ColdFusion 2 Comments »

 

I'm still trying to wrap my head around the relationships in ORM. Yesterday I wanted to delete all the child entities with the parent is delete. No problem, there is an attribute for that. cascade="all-delete-orphan". Well, it wasn't working for me.

It turned out, in my Mach-II app I was using event-bean (by mistake) to prepare the bean and then calling EntityDelete() on it. The entity was getting deleted but the child entities were not getting deleted. No error either. Once I realized my mistake (event-bean), and changed to call-method to load the entity and then call entityDelete() on it everything worked fine.

So, what is the bug? Here is the code equivalent (artist-art example) of my mumbo-jumbo above:

 

Read more...

Test Driven Development

Development , TDD No Comments »

Great research article on TDD from Microsoft.

http://research.microsoft.com/en-us/news/features/nagappan-100609.aspx

Read more...

CF9: Datatype of sum of two integer

ColdFusion 2 Comments »

I had an interesting observation about datatype conversion in CF9 when dealing with an error in ORM. I was getting an error that said can't use double for an integer field type (something like that). Now, I know that ColdFusion is datatype "independent". So, all simple variables are of datatype "String". Given that, when we do:

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio
RSS Feeds