Details

    • Caused by:
      Feature/improvement was not complete
    • Where was the bug?:
      Java
    • Similar Issues:
      Show 5 results 

      Description

      Steps to reproduce:
      1. Add page
      2. Add polls display portlet to page (notice the portlet, see "before" attachment)
      3. Navigate to Control Panel > Polls > Add Question
      4. Navigate to Polls Display portlet > Options > Configuration > select the question
      5. Assert the question shows in the portlet
      6. Navigate to Control Panel > Polls > Actions > Delete poll question
      7. Navigate to Polls Display portlet (notice the portlet now, see "after" attachment)

      1. after.PNG
        44 kB
      2. before.PNG
        43 kB

        Activity

        Hide
        Igor Beslic added a comment -

        Hi Robert,
        if question that Poll portlet was configured to display (like in our case) wasn't found due deletion, should an message be written to user (ieg. Poll Question is not available now, please contact content/portal administrator.)

        OR

        we should just display "Please configure.." message from before.PNG

        Thank you!

        Show
        Igor Beslic added a comment - Hi Robert, if question that Poll portlet was configured to display (like in our case) wasn't found due deletion, should an message be written to user (ieg. Poll Question is not available now, please contact content/portal administrator.) OR we should just display "Please configure.." message from before.PNG Thank you!
        Hide
        Igor Beslic added a comment - - edited

        If question can't be displayed due to expiry or it was deleted user will be provided with info message in transparent window:
        The poll is expired or has been deleted, please configure this portlet to make it visible for all users

        Show
        Igor Beslic added a comment - - edited If question can't be displayed due to expiry or it was deleted user will be provided with info message in transparent window: The poll is expired or has been deleted, please configure this portlet to make it visible for all users
        Hide
        Igor Beslic added a comment -
        • new message was added to Language.properties
        • added exception handler in polls ViewAction that setups request variables which signals jsp to render appropriate message.
        Show
        Igor Beslic added a comment - new message was added to Language.properties added exception handler in polls ViewAction that setups request variables which signals jsp to render appropriate message.
        Hide
        Igor Beslic added a comment -

        Juan, I've cherry picked branch you had problems with and can't recreate NullPointer. If you still having same issue can we assign review to Julio or Ivica just to test it?

        Show
        Igor Beslic added a comment - Juan, I've cherry picked branch you had problems with and can't recreate NullPointer. If you still having same issue can we assign review to Julio or Ivica just to test it?
        Hide
        Robert Srisam-ang (Inactive) added a comment -

        PASSED Manual Testing following the steps in the description.

        Fixed on:
        Tomcat 7.0.22 + MySQL 5. 6.1.x Revision 94487.

        Polls display is no longer blank after deleting a poll question.

        Show
        Robert Srisam-ang (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0.22 + MySQL 5. 6.1.x Revision 94487. Polls display is no longer blank after deleting a poll question.

          People

          • Assignee:
            Robert Srisam-ang (Inactive)
            Reporter:
            Robert Srisam-ang (Inactive)
            Recent user:
            Randy Zhu
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 34 weeks, 6 days ago

              Development

                Structure Helper Panel