Ticket #265 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Errors reference Application.cfc instead of offending page

Reported by: rkolosky Owned by: sean@…
Type: defect Priority: Normal
Milestone: Fusebox 5.5 Component: Fuxebox 4.1 Compatibility
Version: 5.5 Severity: normal
Keywords: Cc:

Description

When an error occurs in a file, the new 5.5 core says the error originates in Application.cfc instead of the file in which the error actually occurs. This will make tracking bugs down harder.

Output from 5.1 core:
The error occurred in C:\Inetpub\wwwroot\LMS\controller\admin\act_manipulateEntry.cfm: line 96
Called from C:\Inetpub\wwwroot\LMS\parsed\admin.editblog.cfm: line 93
Called from C:\Inetpub\wwwroot\LMS\parsed\admin.editblog.cfm: line 5
Called from C:\Inetpub\wwwroot\fusebox5\fusebox5.cfm: line 179
Called from C:\Inetpub\wwwroot\LMS\index.cfm: line 11

Output from 5.5 core:
The error occurred in C:\Inetpub\wwwroot\fusebox550.569\fusebox5\Application.cfc: line 260
Called from C:\Inetpub\wwwroot\fusebox550.569\fusebox5\fusebox5.cfm: line 52
Called from C:\Inetpub\wwwroot\LMS\index.cfm: line 9

Attachments

Change History

Changed 1 year ago by scorfield

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to Fusebox 5.5

Fixed in [571] by throwing the original exception object instead of creating a new one.

Note: See TracTickets for help on using tickets.