Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-80

according to the spec: Manager#getContext(scope) must throw a ContextNotActiveException if no active context exists.

Bulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment Visibility
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M1
    • M2
    • Context and Scopes
    • None

    Description

      According to the Spec: Manager#getContext(scope) must throw a ContextNotActiveException instead of an IllegalArgumentException if no active context exists. This is also true if no such scope like the given one exists in the system!

      TCK test:
      org.jboss.jsr299.tck.unit.context.ContextTest#testGetContextWithNoRegisteredContextsFails()

      Attachments

        Activity

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

          People

            struberg Mark Struberg
            struberg Mark Struberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment