Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Fix Priority:
      2

      Description

      Go to Control Panel -> Server Administration -> Shutdown
      Fill the messages, and click on Shutdown.
      A message appears on the top of the screen, and a Cancel Shutdown button next to Shutdown button.
      The Shutdown button should disappear, because no any sense. You can use Cancel Shutdown.

      6.2.x git id: 8b37e24c5c6e8e1f072a47ac9e2a54ab0d90baa4

        Issue Links

          Activity

          Hide
          rudra.opensource Rudra Opensource (Inactive) added a comment -

          Here is the Solution:

          At below path you will find a code snippet like below:
          PATH of FILE: <liferay-installation-directory>/webapps/ROOT/html/portlet/admin/server.jspf

          At LINE 801:
          <aui:button onClick="<%= taglibShutdown %>" value="shutdown" />

          Change it to like below(with Condition):
          <c:if test="<%= !ShutdownUtil.isInProcess() %>">
          <aui:button onClick="<%= taglibShutdown %>" value="shutdown" />
          </c:if>

          And refresh the page at browser(your installation must be in development mode).
          Now after this code change, you will notice, that once you set SHUTDOWN timer, Shutdoen button will hide and "Cancel Shuddown" will prompt.

          We believe this should resolve your issue.
          Thanks
          James Matrix

          Show
          rudra.opensource Rudra Opensource (Inactive) added a comment - Here is the Solution: At below path you will find a code snippet like below: PATH of FILE: <liferay-installation-directory>/webapps/ROOT/html/portlet/admin/server.jspf At LINE 801: <aui:button onClick="<%= taglibShutdown %>" value="shutdown" /> Change it to like below(with Condition): <c:if test="<%= !ShutdownUtil.isInProcess() %>"> <aui:button onClick="<%= taglibShutdown %>" value="shutdown" /> </c:if> And refresh the page at browser(your installation must be in development mode). Now after this code change, you will notice, that once you set SHUTDOWN timer, Shutdoen button will hide and "Cancel Shuddown" will prompt. We believe this should resolve your issue. Thanks James Matrix
          Hide
          he.song Serena Song (Inactive) added a comment - - edited

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

          A message appears on the top of the screen, and a Cancel Shutdown button next to Shutdown button.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 5deda67a59216847b4107af178e2b489d3247bd7.
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211.

          There is only Cancel Shutdown button shows up.

          Show
          he.song Serena Song (Inactive) added a comment - - edited PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. A message appears on the top of the screen, and a Cancel Shutdown button next to Shutdown button. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 5deda67a59216847b4107af178e2b489d3247bd7. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 8b3d3bc1f59cd7a6efcedc8ac83a779c54b2e211. There is only Cancel Shutdown button shows up.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 12 weeks ago

                Development

                  Subcomponents