This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

[BD-04] Convert ErrorModule and NonStaffErrorModule to XBlocks. [SE-3191]

Description

Converts the Error XModule and NonStaffError XModule into XBlocks.

Part of [XModule to XBlock Conversion work](https://openedx.atlassian.net/wiki/spaces/AC/pages/1472790755/XModule+to+XBlock+Conversion).

*Testing instructions*:

*MRO Analysis*

Descriptor MRO | Module MRO | Block MRO | Notes
------------ | ------------- | ---------------- | ------------
<class 'xmodule.error_module.ErrorDescriptor'> | <class 'xmodule.error_module.ErrorModule'> | <class 'xmodule.error_module.ErrorBlock'>
<class 'xmodule.error_module.ErrorFields'> | <class 'xmodule.error_module.ErrorFields'> | <class 'xmodule.error_module.ErrorFields'>
<class 'xmodule.x_module.XModuleDescriptor'> | |
<class 'xmodule.x_module.XModuleDescriptorToXBlockMixin'> | | <class 'xmodule.x_module.XModuleDescriptorToXBlockMixin'>

<class 'xmodule.x_module.XModule'>

 

<class 'xmodule.x_module.XModuleToXBlockMixin'>

<class 'xmodule.x_module.XModuleToXBlockMixin'>

<class 'xmodule.x_module.XModuleToXBlockMixin'>
<class 'xmodule.x_module.HTMLSnippet'>

<class 'xmodule.x_module.HTMLSnippet'>

<class 'xmodule.x_module.HTMLSnippet'>
<class 'xmodule.x_module.ResourceTemplates'>

 

<class 'xmodule.x_module.ResourceTemplates'>
<class 'xmodule.x_module.XModuleMixin'>

<class 'xmodule.x_module.XModuleMixin'>

<class 'xmodule.x_module.XModuleMixin'>
<class 'xmodule.x_module.XModuleFields'>

<class 'xmodule.x_module.XModuleFields'>

<class 'xmodule.x_module.XModuleFields'>
<class 'xblock.core.XBlock'>

<class 'xblock.core.XBlock'>

<class 'xblock.core.XBlock'>

  1.  

    1.  

      1. Annotatable XModule

In Studio:

![image](https://user-images.githubusercontent.com/5305552/100030281-f20b9100-2e14-11eb-965b-2b4ff8e6eedd.png)

In LMS with staff account (component will not be displayed for non-staff accounts):

![image](https://user-images.githubusercontent.com/5305552/100030208-cab4c400-2e14-11eb-964b-f35c8af13474.png)

  1.  

    1.  

      1. Video XBlock

In Studio:

![image](https://user-images.githubusercontent.com/5305552/100030624-c8069e80-2e15-11eb-94ec-fe571c85428e.png)

In LMS with staff account (component will not be displayed for non-staff accounts):

![image](https://user-images.githubusercontent.com/5305552/100030567-a1486800-2e15-11eb-98be-9cb0fff0a8f9.png)

This does seem to be unexpected behavior but I have left it unchanged.

Activity

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

URL

Customer

PR Number

Repo

Contributor Name

Github Lines Added

Github Lines Deleted

Priority

Zendesk Support

Created November 10, 2020 at 10:56 PM
Updated April 16, 2021 at 7:13 PM
Resolved January 7, 2021 at 3:51 PM