Moodle

Posts truncated when <p> or <br /> tag encountered during rendering but ok in the DB

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Not a bug
  • Affects Version/s: 1.6.5
  • Fix Version/s: None
  • Component/s: Forum
  • Labels:
    None
  • Environment:
    Debian Etch, PHP 5, Apache 2, MySQL
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_16_STABLE

Description

When entering posts using the editor, adding line break or paragraph (either <p> or <br> tag) may cause Moodle to render those posts truncated at the first line break or paragraph occurence.

In the database posts rendered truncated are correctly stored: editing the posts directly in the DB eliminating <p> and <br> tag let the posts to be showed completely (of course without paragraph and line breaks).

There are no cahce enabled nor filters. Problem appears only in forum posts.

Issue Links

Activity

Hide
Andrea Bicciolo added a comment -

Should be noted the problem appeared just after the latest CVS upgrade, made on May, 1st, 2007 to 1.6.5+. Upgrade did not show any error.

Show
Andrea Bicciolo added a comment - Should be noted the problem appeared just after the latest CVS upgrade, made on May, 1st, 2007 to 1.6.5+. Upgrade did not show any error.
Hide
Sergio Mazzarelli added a comment -

This is similar to what I am experiencing with 1.7.1 (see http://tracker.moodle.org/browse/MDL-9691)

Show
Sergio Mazzarelli added a comment - This is similar to what I am experiencing with 1.7.1 (see http://tracker.moodle.org/browse/MDL-9691)
Hide
Martin Dougiamas added a comment -

Yes, it's a known bug with that version of PHP

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg343159.html

Upgrade or downgrade PHP.

Show
Martin Dougiamas added a comment - Yes, it's a known bug with that version of PHP http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg343159.html Upgrade or downgrade PHP.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: