e-Learning-by-SSE / nm-self-learning

https://staging.sse.uni-hildesheim.de/selflearn
4 stars 4 forks source link

Clicking on "Im separaten Editor öffnen" forwards to 404 page #83

Closed ganskem closed 1 month ago

ganskem commented 12 months ago

When you click on a learning unit inside the course editor, a pop-up editor for learning units will open. In the editor you are given the option to open the unit in the separate editor. Clicking the link forwards to the 404 page of the university.

Steps to reproduce:

  1. Select a learning unit in the course editor
  2. Click on "Im separaten Editor öffnen" Button

grafik grafik

ganskem commented 12 months ago

Solution Suggestion

In the file libs > feature > teaching > src > lib > course > course-content-editor > dialogs > edit-lesson-dialog.tsx the href needs to be updated to /selflearn/teaching/lessons/edit/${initialLesson?.lessonId}

spark-sse commented 11 months ago

As a note; this is somewhat related to #87

palfner-sse commented 9 months ago

Fix applied via Issue #87 and Pull request #114