Moodle
  1. Moodle
  2. MDL-32754

Missing string 'assign:addinstance' needed when defining web services

    Details

    • Rank:
      39746

      Description

      Testing MDL-32693, when creating a new external webservice...

      Site administration / ▶ Plugins / ▶ Web services / ▶ External services

      I got:

      Invalid get_string() identifier: 'assign:addinstance' or component 'mod_assign'. Perhaps you are missing $string['assign:addinstance'] = ''; in mod/assign/lang/en/assign.php?
      line 6510 of /lib/moodlelib.php: call to debugging()
      line 7134 of /lib/moodlelib.php: call to core_string_manager->get_string()
      line 2770 of /lib/accesslib.php: call to get_string()
      line 92 of /admin/webservice/forms.php: call to get_capability_string()
      line 166 of /lib/formslib.php: call to external_service_form->definition()
      line 66 of /admin/webservice/service.php: call to moodleform->moodleform()
      

        Issue Links

          Activity

          Hide
          Damyon Wiese added a comment -

          I have pushed a fix for this missing string - the commit message also has the AMOS commands to copy this string from the old assignment module.

          Regards, Damyon

          Show
          Damyon Wiese added a comment - I have pushed a fix for this missing string - the commit message also has the AMOS commands to copy this string from the old assignment module. Regards, Damyon
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Thanks Damyon,

          sent to integration, integrated and tested. Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Thanks Damyon, sent to integration, integrated and tested. Ciao
          Hide
          Eloy Lafuente (stronk7) added a comment -
          UPDATE tracker_issues
             SET status = 'Closed',
                comment = 'Thanks!'
          WHEN participants = 'Did a gorgeous work'
          

          This landed upstream some hours ago (some - me - developer fell slept in the sofa yesterday before spamming this).

          Show
          Eloy Lafuente (stronk7) added a comment - UPDATE tracker_issues SET status = 'Closed', comment = 'Thanks!' WHEN participants = 'Did a gorgeous work' This landed upstream some hours ago (some - me - developer fell slept in the sofa yesterday before spamming this).

            People

            • Assignee:
              Damyon Wiese
              Reporter:
              Eloy Lafuente (stronk7)
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Eloy Lafuente (stronk7)
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: