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

The xAPI state store should throw an exception if the activity id is not a number

XMLWordPrintable

    • HQ 2023 Planning i2 Moppies

      The xAPI state standard allows any type of activity ID, not only integers.

      However, the default state store (core_xapi\state_store) uses itemid to identify the component instance, so the activity id is limited to numerics.

      The state store base calls should use string as activityid as this is how xAPI specs described it. However, if a plugin wants to use non-numeric activity ids, it must implement its own state store.

      All core_xapi\state_store should throw an exception if the activity id is not compatible.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Carlos Escobedo Carlos Escobedo
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 51 minutes
                4h 51m

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