← Back to team overview

mahara-contributors team mailing list archive

[Bug 1450705] [NEW] TinyMCE disappears from feedback form after validation fails

 

Public bug reported:

If you try post feedback, but the form validation fails, we re-display
the feedback form. However, in this case, the TinyMCE no longer displays
properly.

To replicate:

1. Create a page (which allows comments)
2. Click on "Place feedback" on the bottom of the page
3. Click "Submit" without filling in a comment.
4. This will cause the feedback to fail validation, and the page will reload with a message telling you what you did wrong.

Expected result: You should see the same feedback form, with the "Message" field displaying an error.
Actual result: You see the feedback form, but now the "Message" field is no longer TinyMCE.

** Affects: mahara
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: Confirmed

** Affects: mahara/1.10
     Importance: High
         Status: Confirmed

** Affects: mahara/15.04
     Importance: High
         Status: Confirmed

** Affects: mahara/15.10
     Importance: High
     Assignee: Aaron Wells (u-aaronw)
         Status: Confirmed


** Tags: feedback

** Also affects: mahara/1.10
   Importance: Undecided
       Status: New

** Also affects: mahara/15.04
   Importance: Undecided
       Status: New

** Also affects: mahara/15.10
   Importance: Undecided
       Status: New

** Changed in: mahara/15.10
    Milestone: None => 15.10.0

** Changed in: mahara/15.04
    Milestone: None => 15.04.1

** Changed in: mahara/1.10
    Milestone: None => 1.10.4

** Changed in: mahara/15.10
       Status: New => Confirmed

** Changed in: mahara/15.04
       Status: New => Confirmed

** Changed in: mahara/1.10
       Status: New => Confirmed

** Changed in: mahara/15.10
   Importance: Undecided => High

** Changed in: mahara/15.04
   Importance: Undecided => High

** Changed in: mahara/1.10
   Importance: Undecided => High

** Changed in: mahara/15.10
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Tags added: feedback

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1450705

Title:
  TinyMCE disappears from feedback form after validation fails

Status in Mahara ePortfolio:
  Confirmed
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  Confirmed
Status in Mahara 15.10 series:
  Confirmed

Bug description:
  If you try post feedback, but the form validation fails, we re-display
  the feedback form. However, in this case, the TinyMCE no longer
  displays properly.

  To replicate:

  1. Create a page (which allows comments)
  2. Click on "Place feedback" on the bottom of the page
  3. Click "Submit" without filling in a comment.
  4. This will cause the feedback to fail validation, and the page will reload with a message telling you what you did wrong.

  Expected result: You should see the same feedback form, with the "Message" field displaying an error.
  Actual result: You see the feedback form, but now the "Message" field is no longer TinyMCE.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1450705/+subscriptions


Follow ups

References