remark42
remark42 copied to clipboard
Collect /find Info for tree and plain types consistently
MakeTree calculated Info locally for historical reasons, and the results were consistent with the dataService.Info call but calculated differently. Requesting plain format comments, on the other hand, had a problem with not returning the read-only status of the page if it doesn't have any comments yet.
That change fixes that, ensuring that Info is requested in the same manner and the read-only status is returned correctly in case the post doesn't have comments but has such a status.
Pull Request Test Coverage Report for Build 8008368310
Details
- 0 of 26 (100.0%) changed or added relevant lines in 2 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage decreased (-0.02%) to 84.871%
| Totals | |
|---|---|
| Change from base Build 7992566957: | -0.02% |
| Covered Lines: | 5969 |
| Relevant Lines: | 7033 |