ls1intum/Orion

Edit in Editor view cannot be left

Closed this issue · 1 comments

Describe the bug

The Edit in Editor view cannot be left once entered.
The breadcrumbs do not work, Course Overview and Course Management cannot be accessed.

To Reproduce

  1. Login as Editor / Instructor
  2. Go to the Course Exercise view
  3. Edit a programming exercise with Edit in IntelliJ
  4. The opened view, which is similar to the Edit in Editor Artemis view cannot be left anymore

Expected behavior

The buttons should produce the expected behaviour.

Screenshots

Orion-EditInEditorAlikeViewNotWorking

Environment

 - OS: Windows 10
 - IntelliJ 2021.1.1 ultimate
 - Browser Chrome
 - Orion Version 1.1.2

Error message

ERROR Error: Uncaught (in promise): TypeError: this.codeEditorContainer is undefined
canDeactivate@https://artemis.ase.in.tum.de/app/10.588f1fdec75a95d68c14.chunk.js:1:1026157
canDeactivate@https://artemis.ase.in.tum.de/app/7.588f1fdec75a95d68c14.chunk.js:2:6725226
subscribe@https://artemis.ase.in.tum.d…
    Angular 18
    _wrapEventTarget trycatch.js:45
    Yn inboundfilters.js:149
    Angular 6
    bn code-editor-instructor-and-editor-orion-container.component.html:27
    Angular 9
    template code-editor-instructor-and-editor-orion-container.component.html:14
    Angular 22
    RxJS 5
    Angular 16
    _wrapEventTarget trycatch.js:45
    Yn inboundfilters.js:150
    handle Angular
    RxJS 20
inboundfilters.js:120:19
MDK5 commented

Fixed with Artemis's #3425