glassfish
  1. glassfish
  2. GLASSFISH-11517

WeldApplicationFactory breaks the ability to decorate a JSF Application

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: 3.1
    • Component/s: jsf
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      11,517

      Description

      With weld enabled, one can't decorate the application with an own
      ApplicationFactory.

      The problem seems to be in the private field defaultApplication set from
      InjectionApplicationFactory. It seems that WeldApplication should extend
      ApplicationWrapper and act like a wrapper.
      Also WeldApplicationFactory.getApplication always returns application, even if
      someone called setApplication.

        Activity

        Hide
        Ryan Lubke added a comment -

        Roger, could you please review?

        Show
        Ryan Lubke added a comment - Roger, could you please review?
        Hide
        rogerk added a comment -

        It'll take a look this today

        Show
        rogerk added a comment - It'll take a look this today
        Hide
        rogerk added a comment -

        Fixes checked in - namely to WeldApplication and WeldApplicationFactory.

        Show
        rogerk added a comment - Fixes checked in - namely to WeldApplication and WeldApplicationFactory.

          People

          • Assignee:
            rogerk
            Reporter:
            Frank Caputo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: