Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3774

Writing error for if new ressource DB postgres

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: None
    • Component/s: Block: Mrbs
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      In the version 2.2 I added sections. Now in the newes version of moodle 2.3.1+ I installed 2.x (Build: 2012052500)
      For a full description of this block, please see here http://docs.moodle.org/en/MRBS_block, an would add ressources --> error

      A Moodle 1.9 version of this plugin can be downloaded directly here: https://github.com/arborrow/moodle-block_mrbs/zipball/MOODLE_19_STABLE - this is not available on Moodle.org as there would be a lot of work involved in rewriting it to pass the automated database naming checks.

      Useful links

      Debug info: FEHLER: Wert zu lang für Typ character varying(25)
      INSERT INTO mdl_block_mrbs_room (room_name,description,capacity,area_id) VALUES($1,$2,$3,$4) RETURNING id
      [array (
      'room_name' => 'Zi19_Notebooks Schlüssel im Korpus',
      'description' => 'IBM Notebooks',
      'capacity' => 11,
      'area_id' => 5,
      )]
      Error code: dmlwriteexception
      Stack trace:
      line 410 of /lib/dml/moodle_database.php: dml_write_exception thrown
      line 239 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
      line 812 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
      line 864 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
      line 67 of /blocks/mrbs/web/add.php: call to pgsql_native_moodle_database->insert_record()

        Attachments

          Activity

            People

            Assignee:
            davosmith Davo Smith
            Reporter:
            juerg.hoerner Juerg Hoerner
            Participants:
            Component watchers:
            Davo Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: