Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-5716

AMOScript parser does not recognise components with a digit in name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Component/s: lang.moodle.org
    • Labels:
      None

      Description

      This has been discovered in MDL-59298 where Shamim Rezaie used the following AMOScript in the commit message:

      AMOS BEGIN
       CPY [emailpasswordchangeinfosubject,core],[emailpasswordchangeinfosubject,auth_oauth2]
      AMOS END
      

      for which the cibot raised an error "AMOS - Instruction not understood"

      It turned out to be a bug in AMOS' mlanglib and its copy in the local_ci plugin. It does not like the "2" digit character in the auth_oauth2 component, regardless it is a valid PARAM_COMPONENT value.

      We need to fix both AMOS and local_ci.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 28 minutes
                  1h 28m