Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-68460

"Disabled" checkboxes always pass false to backend regardless of being selected or not

    Details

      Description

      Description:
      This is one use case. There are others as well.
      When a Message Boards category is set to "Question" display, threads created in it are not marked as questions.

      Steps to Reproduce:

      1. Add a Message Boards Category. Set the "Display Style" to "Question".
      2. Navigate into the category and add a Thread. Notice under "More Settings" that the "Mark as a Question" checkbox is both disabled and selected.
      3. Publish the thread.
      4. Edit the thread.

      Expected Behavior:
      The "Mark as a Question" checkbox would still be selected. Replies to the thread would also have the "Mark as Answer" option.

      Actual Behavior:
      The "Mark as a Question" checkbox is not selected. Replies to the thread do not have a "Mark as Answer" option.

      Reproduced on master - b55fcfe

      Note: This was caused by LPS-44228

        Attachments

        1. fix_70.png
          fix_70.png
          36 kB
        2. fix.png
          fix.png
          35 kB
        3. fix1.png
          fix1.png
          31 kB
        4. reproduce.png
          reproduce.png
          37 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 42 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP8
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master