Skip to content

Builtin poll_question block rendering is broken #32827

@kdmccormick

Description

@kdmccormick

The Problem

poll_question rendering seems broken (see screenshots below).

The Studio view shows an error which may be helpful:

We're having trouble rendering your component

Students will not be able to access this component. Re-edit your component to fix the error.

Error: 'PollBlockWithMixins' object has no attribute 'mako_template' 

Note: This is not xblock-poll, a.k.a. the poll component. This is the poll_question component, a former XModule which is defined in edx-platform.

Steps to reproduce

I found this in both master (using tutor dev & local) and Palm (using current-release.openedx.org).

  • Go to a course in Studio

  • In advanced settings, add "poll_question" to the advanced module list. Save.

  • In the unit editor, add an Advanced->poll_question component.

  • Author view:

    image

  • Edit view:

    image

  • Click "Publish" and then "View Live Version"

  • Student view

    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions