Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
admentus opened this issue Mar 3, 2015 · 2 comments
Closed

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

admentus opened this issue Mar 3, 2015 · 2 comments

Comments

@admentus
Copy link

@admentus 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
Copy link
Owner

@atuttle atuttle commented Mar 3, 2015

Nice find, thanks! Will get that addressed momentarily.

@atuttle atuttle closed this in f992792 Mar 3, 2015
@atuttle
Copy link
Owner

@atuttle 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.