Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      The 'info' view does not show all versions of a wiki entry. The html post processing seems to truncate the info. Sometimes the version entries break in the middle. I corrected this by

          • html post processing

      if ($action != 'info') { // inserted this line...

      if ($pf_a = $ewiki_plugins[page_final]) {

      ksort($pf_a);

      foreach ($pf_a as $pf)

      { $pf($o, $id, $data, $action); }

      }

      } // ...and this

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            From Jarkko Leponiemi (jarkko.leponiemi at uta.fi) Tuesday, 26 April 2005, 03:17 PM:

            This bug might affect other views as well (not only 'info'). With many versions the size of the 'info' -page grows quite large because of the <table> -tags (and other stuff).

            From Eloy Lafuente (stronk7 at moodle.org) Sunday, 10 July 2005, 12:50 AM:

            Hi,

            this should be solved now in 1.5 daily builds (24 hours from now). After some debugging I found one hardcoded limit that was breaking long pages module-wide.

            Hope it works properly now. Closing in some days if there aren't bad news here.

            For quick-testers, simply edit the file http://moodle.cvs.sourceforge.net/moodle/moodle/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php and cahnge line 57 from:

            $loop = 1000;

            to:

            $loop = (int)$len / 3;

            Ciao

            From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 13 July 2005, 12:41 AM:

            Just closing this. Ready for 1.5.2, I think.

            Show
            dougiamas Martin Dougiamas added a comment - From Jarkko Leponiemi (jarkko.leponiemi at uta.fi) Tuesday, 26 April 2005, 03:17 PM: This bug might affect other views as well (not only 'info'). With many versions the size of the 'info' -page grows quite large because of the <table> -tags (and other stuff). From Eloy Lafuente (stronk7 at moodle.org) Sunday, 10 July 2005, 12:50 AM: Hi, this should be solved now in 1.5 daily builds (24 hours from now). After some debugging I found one hardcoded limit that was breaking long pages module-wide. Hope it works properly now. Closing in some days if there aren't bad news here. For quick-testers, simply edit the file http://moodle.cvs.sourceforge.net/moodle/moodle/mod/wiki/ewiki/plugins/moodle/f_fixhtml.php and cahnge line 57 from: $loop = 1000; to: $loop = (int)$len / 3; Ciao From Eloy Lafuente (stronk7 at moodle.org) Wednesday, 13 July 2005, 12:41 AM: Just closing this. Ready for 1.5.2, I think.
            Hide
            mblake Michael Blake added a comment -

            assign to a valid user

            Show
            mblake Michael Blake added a comment - assign to a valid user

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: