Skip to content

on ML <action> duration <duration> block in the MakeCode project causes console error #879

Description

@microbit-grace

Including on ML <action> duration <duration> block in the MakeCode project seems to cause Uncaught TypeError: Cannot read properties of null (reading 'name') in the console. It doesn't seem to have any negative user-facing side effects though.

Image

Repro steps

  1. Go to https://createai.microbit.org/
  2. Create a new session.
  3. Add/import data samples.
  4. Train model.
  5. Click "Edit in MakeCode"
  6. Drag and drop on ML <action> duration <duration> block into the workspace.
  7. Navigate back to testing model page.
  8. See error described above in console:
Uncaught TypeError: Cannot read properties of null (reading 'name')
    at o (VM1135 pxtembed.js:15:2994516)
    at VM1135 pxtembed.js:15:2995075

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions