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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • lang.moodle.org
    • None

      This has been discovered in MDL-59298 where rezaie9 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.

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            David Mudrák (@mudrd8mz) David Mudrák (@mudrd8mz)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.