Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-25335

mod page upgrade problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Resource
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Hi Petr. The upgrade of a big site I am working on stopped on the following error. Sorry I am off my laptop now so can not explore details.

       
      Debug info: Incorrect integer value: 'a) o kresb? - moderní p?íru?ky:
      Joseph Meder, Die Handzeichnung - Ihre Technik und Entwicklung. Wien 1923.
      Walter Kos' for column 'contentformat' at row 1
      INSERT INTO mdl_page (course,name,intro,introformat,content,contentformat,revision,timemodified,legacyfiles,display,displayoptions) VALUES(?,?,?,?,?,?,?,?,?,?,?)
      [array (
        0 => '133',
        1 => 'Základní literatura',
        2 => 'Povinná literatura ke studiu.',
        3 => '1',
        4 => 'a) o kresb? - moderní p?íru?ky:
      Joseph Meder, Die Handzeichnung - Ihre Technik und Entwicklung. Wien 1923.
      Walter Koschatzky, Die Kunst der Zeichnung. Technik, Geschichte, Meisterwerke. München (1981), 7. vyd. 1991.
       
      b) o kresb? - klasická díla:
      Filippo Baldinucci, Vocabolario Toscano dell´arte del Disegno. Firenze 1681.
      Antoine Dézallier-d´Argenville, Abrégé de la vie des plus fameux peintres et la Manière de connoître les Dessins et les Tableaux. I-II, Suppl. 1745-1752.
       
      c) o grafice - moderní p?íru?ky:
      Ale? Krej?a, Grafické techniky. Praha 1994.
      Rudolf Mayer, Gedruckte Kunst. Wesen - Wirkung - Wandel. Dreseden 1984.
      Walter Koschatzky, Die Kunst der Graphik. Technik, Geschichte, Meisterwerke. München (1981), 7. vyd. 1991.
       
      d) o grafice - klasická díla:
      Adam Bartsch, Le Peintre-graveur. Vienne 1802.
      Johann David Passavant, Le Peintre-graveur (contenant l´histoire de la gravure et un catalogue supplémentaire...). Leipzig 1860.
       
      e) o fotografii:
      Walter Koschatzky, Die Kunst der Photographie. Technik, Geschichte, Meisterwerke. München 1991.
      Rudolf Skopec, D?jiny fotografie v obrazech od nejstar?ích dob k dne?ku. Praha1963.
      Daniela Mrázková, P?íb?h fotografie. Praha 1985.
      Co je fotografie. 150 let fotografie. Praha 1989.',
        5 => 'a) o kresb? - moderní p?íru?ky:
      Joseph Meder, Die Handzeichnung - Ihre Technik und Entwicklung. Wien 1923.
      Walter Koschatzky, Die Kunst der Zeichnung. Technik, Geschichte, Meisterwerke. München (1981), 7. vyd. 1991.
       
      b) o kresb? - klasická d',
        6 => 1,
        7 => 1290182434,
        8 => 0,
        9 => 5,
        10 => 'a:2:{s:12:"printheading";i:0;s:10:"printintro";i:0;}',
      )]
      Stack trace:line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
      line 847 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 889 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->insert_record_raw()
      line 280 of /mod/resource/db/upgradelib.php: call to mysqli_native_moodle_database->insert_record()
      line 122 of /mod/page/db/upgradelib.php: call to resource_migrate_to_module()
      line 63 of /mod/page/db/upgradelib.php: call to page_20_migrate_candidate()
      line 48 of /mod/page/db/install.php: call to page_20_migrate()
      line 439 of /lib/upgradelib.php: call to xmldb_page_install_recovery()
      line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10