← Back to team overview

mahara-contributors team mailing list archive

[Bug 1023630] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1407
Committed: http://gitorious.org/mahara/mahara/commit/49b37dfaacb99d2915e3a0e46b23e15e54d0537a
Submitter: Hugh Davenport (hugh@xxxxxxxxxxxxxxx)
Branch:    master

commit 49b37dfaacb99d2915e3a0e46b23e15e54d0537a
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Tue Sep 4 14:10:29 2012 +1200

    Blog post with only images or allowed embed codes cannot be submitted
    (Bug #1023630)
    
    When striping HTML tags from WYSIWYG editor for checking required rules,
    allow <img>,<iframe>,<object>,<embed> tags
    
    Change-Id: I12d63d153bee4ef6169a3a6c7252d2491e505056
    Signed-off-by: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1023630

Title:
  Blog post with only images or allowed embed code cannot be submitted.

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Version: master

  Assumptions
   - logged in user

  Actions
   -  Create a new journal entry
   - Add a title
   - Insert several images from attachments or external links
   - Click 'Save entry'

  Expected results
   - The new entry is valid and must be saved in database.

  Actual results
   -  Error message: "There was an error with submitting this form. Please check the marked fields and try again."

  We need to allow these HTML tags because they contains data inside the tags:
   - <img>
   - <iframe>
   - <object>
   - <embed>
   - <audio> (HTML 5)
   - <applet>
   - <video> (HTML 5)

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


References