Skip to content

missing local scope in duplicate URI error cfthrow message #34

@ortkin

Description

@ortkin

In API.cfc line 414 was throwing errors for me (CF Builder 2 was having issues with renaming files, got two files instead, causing the error to fire). Here's the line:

<cfthrow
    message="Duplicate URI scheme detected. All URIs must be unique (excluding tokens)."
    detail="The URI for `#beanName#` conflicts with the existing URI definition of `#application._taffy.endpoints[metaInfo.uriRegex].beanName#`"
    errorcode="taffy.resources.DuplicateUriPattern"
/>

Fixed with:

<cfthrow
    message="Duplicate URI scheme detected. All URIs must be unique (excluding tokens)."
    detail="The URI for `#local.beanName#` conflicts with the existing URI definition of `#application._taffy.endpoints[local.metaInfo.uriRegex].beanName#`"
    errorcode="taffy.resources.DuplicateUriPattern"
/>

Activity

added a commit that references this issue on May 11, 2011
c805191
atuttle

atuttle commented on May 11, 2011

@atuttle
Owner

Thanks for the bug report!

Fixed in 1.1: c805191

added a commit that references this issue on Nov 9, 2012
827ab9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @atuttle@ortkin

        Issue actions

          missing local scope in duplicate URI error cfthrow message · Issue #34 · atuttle/Taffy