Details

    • Epic/Theme:
    • Story Points:
      2
    • Fix Priority:
      5
    • Similar Issues:
      Show 4 results 

      Description

      Let's say that we have two portlets: a-portlet and b-portlet, where A depends on B.

      Deploying A fails, as is being fully deployed when B is not yet deployed. This is wrong behavior - plugin A should be queued until B is deployed.

      Example:
      Deploy "a-portlet" and wait until you see

      INFO [HotDeployUtil:156] Queueing a-portlet for deploy because it is missing b-portlet
      ...
      # FooLocalServiceImpl(): null
      

      in the console. So, although the "a-portlet" is still queued, the constructor of the FooLocalServiceImpl (from A) is called. Deploying b-portlet later does not change anything.

        Activity

        Hide
        Igor Spasic added a comment -

        This fix works with the following scenarios:

        start
        deploy A
        deploy B
        --> OKOKOK

        start
        deploy B
        deploy A
        --> OKOK

        start
        deploy A
        restart
        deploy B
        --> OKOKOK

        start
        deploy B
        restart
        deploy A
        --> OKOK

        start with A and B deployed
        --> OKOKOKOK

        Show
        Igor Spasic added a comment - This fix works with the following scenarios: start deploy A deploy B --> OKOKOK start deploy B deploy A --> OKOK start deploy A restart deploy B --> OKOKOK start deploy B restart deploy A --> OKOK start with A and B deployed --> OKOKOKOK
        Hide
        Sharry Shi added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: fb89d28ff5530e80a91faa07eed885da11447314.

        The deployment of dependent plugins succeed.

        Show
        Sharry Shi added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 6.0 + MySQL 5. Portal 6.0.x GIT ID: fb89d28ff5530e80a91faa07eed885da11447314. The deployment of dependent plugins succeed.

          People

          • Assignee:
            Sharry Shi
            Reporter:
            Igor Spasic
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 23 weeks ago

              Development

                Structure Helper Panel