Closed (cannot reproduce)
Project:
Drupal core
Version:
9.1.x-dev
Component:
book.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Jun 2014 at 14:31 UTC
Updated:
23 May 2020 at 07:38 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pushpinderchauhan commentedComment #2
pushpinderchauhan commentedAdded patch after testing.
Comment #3
primsi commentedLooks good to me.
Comment #4
primsi commentedNow that I think of it. If we had tests for this, it would be even better :)
Comment #5
alexpottYep - we need tests to cover this a prove the issue.
Comment #6
pushpinderchauhan commentedComment #10
lomo commentedI just enabled the book module, created some dummy book pages, put them into a hierarchy and went to /book and got no fatal error. (I also tried, before creating any book pages, and still had no errors). I think this issue is no longer, at least not in the 8.4.x branch.
And if it IS still an issue, then we need to re-roll the patch... I was prepared to sort that out, but it doesn't look like that is necessary...
Comment #11
savkaviktor16@gmail.com commentedre-rolled
Comment #12
dani3lr0se commentedTested with simplytest.me on 8.3.x and can confirm that the patch works. When I navigate to "/books" it shows my books. This could probably be used on 8.5.x as well? I'll try making the patch for 8.5.x., but if someone beats me to it, it's no biggie. Thanks for the help and thanks for this patch. :)
Comment #13
xjmThanks for working on this issue.
What actually needs to happen on this issue is what's described in #10. Rerolling a patch and testing it isn't helpful if there's evidence that the fix is obsolete.
The STR aren't sufficient to produce this error for me. I tried:
So it looks like we need more specific steps to reproduce this problem. There's no need to roll a patch if the issue is not reproducible. And if it still is reproducible, but only under certain circumsrtances, we need to know why. The bug could be in the calling code.
It also needs to have test coverage, as per #5. The test coverage would prove that the bug exists.
Or, if the bug simply does not exist, it can be marked back to "Cannot reproduce".
Comment #14
dani3lr0se commentedThanks for the feedback @xjm. That makes sense. I should've thought about that before reviewing.
Comment #20
ptmkenny commentedClosing this because reading over the issue suggests that the issue was fixed by 8.4.x, and there was no follow-up after #14.