peer_reviewed_article: Pass single HyphaDomElement to addDiscussion #319
No reviewers
Labels
No labels
Component: User interface
Component: Wymeditor
Help wanted
Level: Difficult
Level: Easy
Level: Moderate
Pagetype: Festival
Pagetype: Mailinglist
Pagetype: Peer reviewed article
Pagetype: Text
Privacy GDPR AVG
status: has conflicts
Status: Needs changes
Status: Needs discussion
Status: Needs review
Status: Ready to merge
Status: Waiting for response
Type: Bug
Type: Enhancement
Type: Question
Usecase: De Stadsbron
Usecase: Koppelting
Usecase: MeetjeStad
Value: Coders
Value: Security
Value: Users
Value: Visitors
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
harmen/hypha!319
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Issue/318-Cannot-resolve-own-blocks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously, this would pass a NodeList containing (normally) just a
single element. However, a NodeList does not seem to have a
nodeNameproperty, which
addDiscussionused to differentiate between review andpublic comments.
This caused
addDiscussiontreat review discussions as publicdiscussions, leaving out the
userattribute. This in turn preventedusers from resolving their own blocking comments, since there was no
longer a record of the initiator of a discussion (#318).
Passing a single HyphaDomElement rather than a NodeList to
addDiscussion()makes the latter work as expected again.This fixes #318.