Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the filemodel before rending the detailsview #12231

Merged
merged 1 commit into from
Nov 5, 2018

Conversation

rullzer
Copy link
Member

@rullzer rullzer commented Nov 2, 2018

fixes #10934

Else it triggers the rendering two times. Resulting is weird state in
for example the comments. Because the comments for OLD_FILEID are
retrieved but then the model is changed to NEW_FILEID. But the old
comments still get in and get parsed.

This of course comes with the usual warnings that if I do javascript it is mostly YOLO

fixes #10934

Else it triggers the rendering two times. Resulting is weird state in
for example the comments. Because the comments for OLD_FILEID are
retrieved but then the model is changed to NEW_FILEID. But the old
comments still get in and get parsed.

Signed-off-by: Roeland Jago Douma <[email protected]>
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems coherent 😊

@rullzer rullzer added the 3. to review Waiting for reviews label Nov 4, 2018
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

@rullzer rullzer merged commit 4be625b into master Nov 5, 2018
@rullzer rullzer deleted the bugfix/10934/setmodel_before_render branch November 5, 2018 07:07
@MorrisJobke
Copy link
Member

fixes #10934

Backport would make sense as this was reported for 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comments dav requests ignore file id
4 participants