Hi,
You guys probably already know, but I've just got the latest build
from SVN and my app started throwing the error:
Element ID is undefined in DEBUGTIMERS.
The error occurred in C:\xampp\htdocs\coldbox\system\includes
\Debug.cfm: line 161
Called from C:\xampp\htdocs\coldbox\system\services
\DebuggerService.cfc: line 187
Called from C:\xampp\htdocs\coldbox\system\Coldbox.cfc: line 278
Called from C:\xampp\htdocs\ticketsystem\Application.cfc: line 56
159 : <td ><span class="#color#">#debugTimers.Method#</span></td>
160 : <td align="center" >
161 : <cfif debugTimers.rc neq ''><a href="javascript:fw_poprc
('fw_poprc_#debugTimers.id#')">View</a><cfelse>...</cfif>
162 : </td>
163 : </tr>
I did a quick bit of debugging and the debugTimers query object
doesn't have an id column, so I changed the code to use the currentrow
instwead which seems to work:
<td align="center" >
<cfif debugTimers.rc neq ''><a href="javascript:fw_poprc
('fw_poprc_#debugTimers.currentrow#')">View</a><cfelse>...</cfif>
</td>
</tr>
<tr id="fw_poprc_#debugTimers.currentrow#" class="hideRC">
<td colspan="4" style="padding:5px;" wrap="true">
<div style="overflow:auto;width:98%; height:150px;padding:
5px">
#replacenocase(debugTimers.rc,",",chr(10) & chr(13),"all")#
</div>
</td>
Thanks for the great work on ColdBox 3!
- John