I think I managed to update the framework and the dashboard to
versions that don't agree. I have rev 2022 of framework/1-8-0/trunk
and dashboard/1-1-0/trunk running on my dev box. Before updating from
a few weeks ago, it worked fine. Now there is something going on here:

  
https://greatbiztoolsllc.trac.cvsdude.com/mach-ii/browser/dashboard/1-1-0/trunk/views/layout/header.cfm?rev=2006#L48

The view:a tag leads to an error that the 'url' local var is a struct
({event:string}) rather than a string, causing an exception when it
ends up in MachII.util.Utils.escapeHtml().

I took a peek in the baseTagBuilder.makeUrl function, and see that
some special handling is being done for the view:a.
  
https://greatbiztoolsllc.trac.cvsdude.com/mach-ii/browser/framework/1-8-0/trunk/customtags/baseTagBuilder.cfm#L479

Here are the top items on the call stack:
/webroot/MachII/customtags/baseTagBuilder.cfm: line 492
/webroot/MachII/customtags/view/img.cfm: line 62
/webroot/MachIIDashboard/views/layout/header.cfm: line 56
/webroot/MachII/framework/ViewContext.cfc: line 107

I'd be happy to fix it, if I knew what was intended. However, I
imagine that it's just a refactoring that isn't finished yet.

-joseph

-- 
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/

Reply via email to