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

block.version regression in custom lang tool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Libraries
    • Labels:
    • Story Points:
      1
    • Sprint:
      BACKEND Sprint 6

      Description

      Debug info: ERROR: column "version" does not exist
      LINE 1: SELECT version FROM mld998o_block WHERE name = $1
      ^
      SELECT version FROM mld998o_block WHERE name = $1
      [array (
      0 => 'activity_modules',
      )]
      Error code: dmlreadexception
      Stack trace:
      line 442 of /lib/dml/moodle_database.php: dml_read_exception thrown
      line 239 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
      line 743 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
      line 1431 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
      line 1504 of /lib/dml/moodle_database.php: call to moodle_database->get_record_sql()
      line 1485 of /lib/dml/moodle_database.php: call to moodle_database->get_field_sql()
      line 1464 of /lib/dml/moodle_database.php: call to moodle_database->get_field_select()
      line 297 of /lib/adminlib.php: call to moodle_database->get_field()
      line 98 of /admin/tool/customlang/locallib.php: call to get_component_version()
      line 60 of /admin/tool/customlang/index.php: call to tool_customlang_utils::checkout()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Jason Fowler
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13