Firefox users can edit posts in Commons to be blank, bypassing "You have not entered any content to save"

Description

Firefox users can make a post to the Commons tool (after their role has been given permissions to Create a post and Update own posts) and then delete all the text (while NOT using Ctrl-A and Backspace/Delete) and post the changes to create a blank post.

Attachments

1

Activity

Show:

Jacob Cira February 6, 2023 at 6:51 PM

Jacob Cira January 16, 2023 at 7:56 PM

Just confirming that the issue persists on 20x and 21x (and has likewise not resurfaced on the fixed 22x and 23x, or the new 24x). Tested:

24x https://trunk-mysql.nightly.sakaiproject.org build 0edd6d6d
23x https://qa23-maria.nightly.sakaiproject.org build 4be36e92
22x https://qa22-mysql.nightly.sakaiproject.org build 2bb01f27

21x https://qa21-mysql.nightly.sakaiproject.org build 8d4e5d9a
20x https://qa20-mysql.nightly.sakaiproject.org build 5f6b749a

Jacob Cira October 31, 2022 at 7:49 PM

Got expected results using test plan.

Verified 22x https://qa22-mysql.nightly.sakaiproject.org build 5b6b0d06

Derek Ramsey October 19, 2022 at 5:03 PM

Verified on Sakai master using provided test plan. Attempting to post a blank message results in the following error on a popup:
You have not entered any content to save

Christopher Maurer September 28, 2022 at 1:16 AM

A note on testing, creating a post as well as editing an existing post (in firefox) exhibited the same behavior.

Fixed

Details

Priority

Fix versions

23 Status

QA Verification Pass

22 Status

Verified

21 Status

Verified

Components

Assignee

Reporter

Environment

I'm using Firefox on the latest update (104.0.1) - Chrome and Edge do not exhibit this unexpected behavior 23x: https://trunk-mysql.nightly.sakaiproject.org 717b2366 22x: https://qa22-mysql.nightly.sakaiproject.org bff100f2 21x https://qa21-mysql.nightly.sakaiproject.org 8d4e5d9a 20x https://qa20-mysql.nightly.sakaiproject.org 5f6b749a
Created August 30, 2022 at 6:51 PM
Updated May 23, 2024 at 10:48 PM
Resolved October 18, 2022 at 3:30 PM