Regression: In an Issue, can't edit a child note in a discussion
Child notes in a discussion can't be edited, and give the following error in the console:
12:12:15.255 TypeError: e.path is undefined notes.js:5:31
The offending file is
Incidentally, I also noticed some weird stuff with notes while testing this on gitlab.com. While inserting a parent/child note, the child note was duplicated outside the parent, and the parent/child notes were switched after refreshing. Another refresh fixed the error and I was unable to reproduce it again.
Issue is present in 12.1.0-pre 7d840e4b. Unsure which patch caused the regression.
Steps to reproduce
- Create an issue in EE, or go here
- Create a note (optional)
- Create a note as a child of an existing note
- Try to edit the child note
What is the current bug behavior?
The child note editor does not appear and an error appears in the console. However, editing the parent note is possible.
What is the expected correct behavior?
The child note editor should appear.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com