The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'bugs'

 

How To Submit Pull Requests to the ColdBox Platform

Brad Wood
Aug 28, 2015

 

The best part about open source projects is you! Many hands make light work and at Ortus we love getting input from the many smart community members out there.  The first way you can help is to report bugs or enhancements in our ticket tracking system.  You can read our guide for that here:

http://blog.coldbox.org/blog/how-to-create-a-jira-account-and-enter-coldbox-tickets

The second thing you can do is to actually submit fixes yourself!  This may seem scary, but it's a pretty straight forward process once you've done it once.  We can never have too many people willing to help. Let's jump in and cover the steps it takes to submit some code to the ColdBox Platform.

Bugs, ColdBox, Community, Tips & Tricks, Walkthroughs 1

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

Curt Gratz
Jan 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!

Alliance, Bugs, ColdBox, Tips & Tricks, WireBox 0

ColdBox 2.6.2 Fixes and Patches

Luis Majano
Jan 08, 2009

 

There have been some bug fixes and patches to 2.6.2 that can be located on our daily build and SVN.  If you are curious of what these bugs are and how milestone 2.6.3 is shaping up, please go here and check it out.

2.6.3 will be our last maintenance release in our 2.X ColdBox Series before we start development on ColdBox 3.0.0 which will be a nice move ahead from our past 15 versions.  We have tons of exciting updates, surprises and performance updates for our 3.0.0 version.  You can also check out how this release is shaping up by visiting the milestone here.
Bugs, ColdBox, News 0

ColdBox: ColdFusion MX 6.X issues and support

Luis Majano
Oct 15, 2008

 

Support for ColdFusion 6.X will be on the next revision 1.0.3 plus other great features that you can check out here. 6.X has some issues that were shown into light by Aaron Conran. You can download the zip in this post that contains a new settings.cfc, XMLParser.cfc, and Application.cfm. Just replace them in your system folder and also use the Application.cfm as a template for your applications, including the samples gallery. Another drawback is that the Dashboard is only supported on CFMX 7.0 and above. If you can make it work for cfmx 6.X, then let me know. Issues with 6.X click on them to view them.

Bugs, ColdBox, News 0

ColdBox: Bug #44 Please download & BlueDragon Support

Luis Majano
Oct 15, 2008

 

I just fixed a bug concerning the BugReport.cfm in the includes directory while I am working on full BlueDragon support for ColdBox. You can view the bug report and download the fix from the following url: http://trac.luismajano.com/coldbox/ticket/44 It is a simple bug of missing parenthesis.

Blue Dragon Support

I am almost done with all the features except one, and wanted to give a shout for anybody who might direct me accordingly. I have a utility that uses the coldfusion.runtime.TemplateProxy java class to inspect cfc metadata. However, this class does not exist in Blue Dragon. Does anybody know the equivalent of this class in BlueDragon or if its even supported. I am testing under BlueDragon 6.2.1 Please let me know if you know about this issue. Thanks.

Bugs, ColdBox, News 0

ColdBox 1.2.0 Beta Last Known issues Information

Luis Majano
Oct 15, 2008

 

Below you can find a link to the last know issues for the 1.2.0 beta release: Last Known Issues And you can also subscribe to it via RSS through the link below: Last Know Issues RSS Feed Thanks again for your support and hope to hear some feedback from you guys. Please be patient with me as I update the docs for this release. So keep checking the timeline feed as progress continues.

Bugs, ColdBox, News 0

ColdBox 2.0.0 Linux Fix Updated

Luis Majano
Oct 15, 2008

 

A small typo on my part would make some case sensitive OS's caput on the requestService due to my mispelling of the "requestContext" I had typed "RequestContext", anyways, the zip has been updated with this small correction. Please download if you are getting weird behavior on case sensitive OS's. Sorry for the inconvenience. Luis off to Cf.Objective()

Bugs, ColdBox, News, Releases 0

Case sensitive OS' Updated!!

Luis Majano
Oct 15, 2008

 

A small typo on my part would make some case sensitive OS's caput on the requestService due to my mispelling of the "requestContext" I had typed "RequestContext", anyways, the zip has been updated with this small correction. Please download if you are getting weird behavior on case sensitive OS's. So download the latest bits to resolve these issues.

Bugs, ColdBox, News 0

ColdBox Dashboard Client Variables Error!!

Luis Majano
Oct 15, 2008

 

If you downloaded the Dashboard and are having problems with the client variables error, then don't worry, its just the clientmanagement setting to true that throws it. I have attached an Application.cfc for you that you can use instead. The next release will include an uncompiled Application.cfc Sorry for this...

Bugs, ColdBox, Dashboard 0

BlueDragon 7 bug when looping over an iterator. Need Help?

Luis Majano
Oct 15, 2008

 

I am now debugging ColdBox for BlueDragon 7 and came upon an interesting bug that I cannot find a solution for. I am trying to get an iterator out of a linkedHashMap and BD keeps throwing me a Method hasNext could not be legally accessed. Has anybody experienced this? If so, please help. Below is the current simple code: //Create HashMap LinkedHashMap = CreateObject("java","java.util.LinkedHashMap").init(3); Collections = createObject("java", "java.util.Collections"); //synch it LinkedHashMap = Collections.synchronizedMap(LinkedHashMap); //put some elements LinkedHashMap.put("name","luis"); LinkedHashMap.put("date",now()); //Iterate iterator = LinkedHashMap.keySet().iterator(); key = ""; /* Loop and execute each interceptor as registered in order */ while( iterator.hasNext() ){ key = iterator.next(); writeoutput(key & "
"); }

Bugs, ColdBox 0