xwikisas / application-flashmessages

Allow you to create flash messages aiming at one or multiple local groups
0 stars 2 forks source link

Pop-ups does not appear for large text messages and cause issues for the following flash messages created #44

Open ilieandriuta opened 4 years ago

ilieandriuta commented 4 years ago

STEPS TO REPRODUCE

  1. Create a new flash message with Start Date > Current and Groups > XWikiAllGroup
  2. Add in the Message description a large text: Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
  3. Click 'Save & View'

EXPECTED RESULTS

A flash message pop-up is displayed containing the large text inserted. The pop-up is displayed for every user that logs in first time (part of XWikiAllGroup) during the message validity period.

ACTUAL RESULTS

No pop-up appears for Admin and for users that log in. The large text is displayed directly in the top bar. In the browser's console, there is the following error:

Uncaught SyntaxError: Unexpected identifier

After this, no pop-ups are displayed anymore for other flash messages created, but all the pop-ups for these messages are displayed as soon as the large message is deleted.

Large_text_no_popup

Unexpected_identifier

Environment: Windows 10 Pro 64bit, Chrome 79, using a local instance of XWiki 11.10.2 on Oracle 12c (Flash Messages 1.4.7)

ane-gabriela commented 2 years ago

Issue reproducing on XWiki 14.1, Flash Messages Application (Pro) 1.6.3

ane-gabriela commented 1 year ago

Issue reproducing on XWiki 14.10.10, Flash Messages Application (Pro) 1.7

ane-gabriela commented 5 months ago

Issue reproducing on XWiki Cloud 15.10.8, Flash Messages Application (Pro) 1.7.2