Blog

ColdBox Relax v1.3 released!

Luis Majano |  February 15, 2011

Here is another quick update for ColdBox Relax!  This update includes the following:
  • Important fix for MSSQL databases when reading the log entries and viewers
  • Ability to declare global parameters also alongside global headers
Thanks and RELAX!!

...
Read More

ColdBox Training Discount For CFObjective Attendees

Luis Majano |  February 14, 2011
If you will be attending this year's CFObjective, then you are in luck.  We are currently offering a great discount on our two day ColdBox training courses 2 days before the conference.  So if you are interested in receiving this discount and will be attending the CFObjective conference, then please email us at train...
Read More

ColdBox Training Pre-CFObjective Minneapolis

Luis Majano |  February 12, 2011


I am super excited to announce that we will be holding a ColdBox training pre CFObjective 2011 in Minneapolis this May 10th and 11th.  We will be holding a training on two courses: CBOX100 Core ColdBox + Workshop from May 10-11 and CBOX202 WireBox Dependency Injection from May 10-11.  We will be holding this about 4 miles fr...

Read More

ColdBox Relax v1.2 released!

Luis Majano |  February 12, 2011

Thanks to everybody for submitting their issues and making this possible!  Here is another quick update for ColdBox Relax!  This update includes the following:

  • Important fix for MSSQL databases when reading the log entries and viewers
  • ...
Read More

ColdBox Relax v1.1 released!

Luis Majano |  February 11, 2011

Here is our first update to: ColdBox Relax - RESTful Tools For Lazy Experts!  This update fixes some issues when no logs are encountered, wirebox integration, auto reloading fixes and resource id reconfigurations. So download it now!



What is Relax? ColdBox Relax is a set of RESTful tools for lazy experts. We pride ourselves in helping developers work smarter and of course document ...

Read More

Introducing ColdBox Relax!

Luis Majano |  February 09, 2011

It is my please to announce another product to our development platform: ColdBox Relax - RESTful Tools For Lazy Experts! What is Relax? ColdBox Relax is a set of RESTful tools for lazy experts. We pride ourselves in helping developers work smarter and of course document more in less time by providing them the necessary tools to automagically document and test. ColdBox Relax is a way to describe RESTful web services, test RESTful web services, monitor RESTful web ...

Read More

ColdBox Training Texas Style - Houston

Luis Majano |  February 02, 2011

I am super excited to announce that we will be holding a ColdBox training galore in July in Houston, Texas this coming July.  We will be holding a training on two courses: CBOX101 - Core ColdBox from July 6-7 and 8th and CBOX203 - ColdBox Modules from July 7 to 8th.  CBOX101 is our core ...

Read More

ColdFusion/ColdBox Job Opening in Ft. Lauderdale, Florida

Luis Majano |  January 25, 2011

Here is a job opening that a friend of mine in Ft. Lauderdale has opened up for a ColdFusion/ColdBox developer.  Please contact Victor Mendez at victor@jobsite123.com so you can apply for this position.

 

Job Title:

Read More

Don't Forget persistent="false" When Autowiring Entities

Curt Gratz |  January 21, 2011

I ran into a strange error yesterday that I couldn't seem to find out what was happening.

I was getting coldfusion.runtime.TemplateProxy cannot be cast to java.lang.String when trying to save an entity using ColdFusion ORM.  

Google was turning up nothing, so I started systematically removing lines of code.  It started working when I removed the line that did an entityLoad on a different object.  What was weird was I was just using that object to get a bit of data and not even for the object I was saving that caused everything to go boom, and if I removed the save, everything worked fine.  Then I remembered that the Hibernate session is affected so I took a deeper look at the entity that a loaded.  Sure enough, I was autowiring a property and didn't have persistent="false" on that property, causing it to throw the "coldfusion.runtime.TemplateProxy cannot be cast to java.lang.String" error.

Changing it from something like this

property name="shippingOriginationZip" inject="coldbox:setting:shippingOriginationZip";

to this

property name="shippingOriginationZip" inject="coldbox:setting:shippingOriginationZip" persistent="false";

fixed it all up.  Of course, like all coding solutions happen, this was in the middle of the night when I was no longer working on the code that this came to me.

So remember folks, if you have a property in an persistent CFC that is not persistent, be sure to say so!

Read More