Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-346

Declaration of multiple externalResources with the same name is not reported as an error.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3
    • None
    • Core Java Framework

    Description

      A user reports that it is difficult to debug a situation where developers have accidentally declared two resources with the same name. UIMA currently logs a WARNING message in this case.

      The severity could be increased to SEVERE. Also we could add a "strict descriptor checking" mode (off by default) that throws an Exception in this case, and possibly other cases. We probably shouldn't have this on by default since it could break existing applications that currently work.

      Also our documentation should say that qualified names should be used for resources, e.g. org.myorg.myproj.myresource, to minimize the chance of accidental name clashes.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            alally Adam P. Lally

            Dates

              Created:
              Updated:

              Slack

                Issue deployment