Uploaded image for project: 'XBean'
  1. XBean
  2. XBEAN-41

Improper abstract bean definitions handling

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.6
    • server, spring
    • None

    Description

      When SpringConfiguration tries to load the config file, it iterates throug the whole list of bean definitions, including abstract ones, and tries to get them by name (using getBean() method). If a bean happens to be declared abstract="true", such call raises the exception. This leads to inability of abstract bean usage. I've created a simple and stupid patch, I am sure authors will come up with something more gentle, but that's enought for me.

      Please incorporate the fix future releases.

      Attachments

        Activity

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

          People

            gnodet Guillaume Nodet
            ibochkov Ilya Bochkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment