Error in dashboard when a duplicate URI pattern is found #266

admentus opened this Issue Mar 3, 2015 · 2 comments


None yet

2 participants

admentus commented Mar 3, 2015

The Taffy 3.0 release code in the dashboard for rendering alerts breaks when an duplicate URI pattern is found.

This line of code is on line 180 in /dashboard/dashboard.cfm:

<cfset local.errorCode = local.exceptionHasErrorCode and local.err.Exception.ErrorCode>

When evaluated with a duplicate URL pattern exception, this looks like:

<cfset local.errorCode = TRUE and 'taffy.resources.DuplicateUriPattern'>

Obviously an error is thrown when trying to perform a boolean operation on the error code string.

atuttle commented Mar 3, 2015

Nice find, thanks! Will get that addressed momentarily.

@atuttle atuttle added a commit that closed this issue Mar 3, 2015
@atuttle Resolves #266, fixed syntax f992792
@atuttle atuttle closed this in f992792 Mar 3, 2015
atuttle commented Mar 3, 2015

The fix is available in the current master branch download. No official release for it yet, but 3.1 should be out in the next few weeks.

@atuttle atuttle added this to the Taffy 3.1 milestone Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment