Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-16100

Macro errors when logging out from confirmation messages while joining a wiki

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.11.2, 11.0.3
    • Fix Version/s: None
    • Component/s: Wiki
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Chrome 72, using a local instance XWiki 10.11.2 on Oracle 11.2
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create an user (e.g. U1)
      3. Create 3 subwikis (e.g. S1) with the Membership Type 'Any global user can request join but an admin must accept', a subwiki (S2) with Membership Type 'Open for any user to join' and a subwiki (S3) with Membership Type 'Only an admin can send invitations to join this wiki'
      4. Login with U1
      5. Go to Wiki Index page
      6. Click 'Request Join' for subwiki S1
      7. Type a message and click 'Send request'
      8. When the success message is displayed, click Log-out
      9. Login again with U1
      10. Click 'Join' for subwiki S2
      11. Click 'Yes'
      12. When the success message is displayed, click Log-out
      13. Login as Admin and Invite the user U1 to subwiki S3
      14. Login as U1
      15. Click 'View Invitation', then 'Accept'/'Reject'
      16. When the confirmation message is displayed, click Log-out

      EXPECTED RESULTS

      When logging out from the page where the confirmation messages are displayed, the message changes into a notification (info message) informing that the message's content can be viewed only if the user is logged-in.

      ACTUAL RESULTS

      When logging out from the page where are displayed the confirmation messages from Request Join, Accept/Reject an invitation, the following error is encountered:

      Failed to execute the [velocity] macro. Cause: [null]. Click on this message for details.

      Please find attached the full stacktrace for this error: Logout_error.txt

      When logging out from the page where the confirmation messages for Join an open wiki are displayed, the following error is encountered:

      The 'wikiId' parameter was not specified.

      This error is encountered also when logging out from the page where are displayed the confirmation messages from Leaving a wiki or canceling a Join Request.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iandriuta Ilie Andriuta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: