Luis, are all your commits pushed out to GitHub? I downloaded the latest ContentBox and ColdBox nightlies tonight to play around and I can’t find features such as custom fields, “remember me” on the login screen, or the security firewall.
Is there a quick easy way to determine if the ContentBox master branch on GitHub (the only branch for that repo) has the latest from your local working copy?
Also, I still got the case-sensitive errors for the isApproved stuff on Railo. Have you not made those fixes yet?
I think I figured it out. It appears I downloaded the contentBox zip into the same folder I did last time, and I unzipped the old zip file again instead of the new one.
I seem to be on the latest code now, but I can’t get to the installer. The security interceptor has a single rule loaded that is an empty struct which causes line 204 of the security interceptor to error on “whitelist” is not a key in the struct.
If I dump out qRules in loadModelRules(), it has a single record with no columns in it. (Table cb_securityRule is empty) Is this perhaps a Railo bug?
Do you want to submit it to the Railo list, or me? Also, how should we work around that in the mean time? I just saw an E-mail come through from Assembla with a commit to security.cfc. Should the compat check for Railo be implemented in the VirtualEntityService. If this bug affects all use of the list() method, it may break something elsewhere too.
The security update was for data consistency on the query as a backup. Whenever a list() in ORM returns no records the entityToQuery is what fails. You can submit please to railo. I found some more
I was on 3.3.1.0000 final which is the latest stable build that the auto-updater shows. Updating to 3.3.2.0000 removed the previous error I received, but gave me this one:# invalid definition of the attribute taglib [/coldbox/system/cache/report]The error occurred in /var/wwwroot/test_codersrevolution_com/modules/contentbox/lib/coldbox_3.5.0/system/Coldbox.cfc: line 196
Acording to this ticket, (https://issues.jboss.org/browse/RAILO-184) application level mappings aren’t supported for cfimport. Adding a “coldbox” mapping in the Railo administrator fixed that error.
After that, I was able to drop and recreate the database empty and go through the entire installer. I didn’t get whatever “blocker issue” you were seeing. What version of Railo are you on?
That all being said, now that I have the correct version of ContentBox installed, it looks like the work-around for case-sensitivity issues with RAILO arguments has not been sorted out yet.
Error Type: ORMService.MaybeInvalidParamCaseException : [N/A] Error Messages: A null pointer exception occurred when running the count
The most likely reason is that the keys in the passed in structure need to be case sensitive. Passed Keys=ISAPPROVED
This is the bit where you need to do this:
var params = {};
params[‘isApproved’] = true;
prc.commentsApprovedCount = commentService.countWhere(argumentCollection=params);
The issue exists once in \modules\contentbox-admin\handlers\dashboard.cfc and twice in \modules\contentbox-admin\handlers\comments.cfc
I’m having problems getting in the admin though. After the installer finishes and I hit the admin, the next page I get logs me out. Also, it looks like dbcreate is left at dropcreate. Is that expected?