Problem/Motivation
Node owner exist or not check is missing, it can throws fatal error.
Proposed resolution
Throw NotFoundHttpException if node owner is not found.
Remaining tasks
Review path.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | node-revision-not-found-3104573-2.patch | 923 bytes | hardik_patel_12 |
| #2 | before-patch.png | 92.73 KB | hardik_patel_12 |
| #2 | after-patch.png | 206.88 KB | hardik_patel_12 |
Comments
Comment #2
hardik_patel_12 commentedComment #3
kishor_kolekar commentedComment #4
hardik_patel_12 commentedComment #5
hardik_patel_12 commentedComment #6
kishor_kolekar commentedHi @Hardik_Patel_12
I tried to apply your patch but not able to reproduce the issue please have a look.
Thanks !
Comment #7
hardik_patel_12 commentedComment #8
longwaveI think this patch means that any node where the author has been deleted will give "page not found". Is this really the desired behaviour? If the node author has been deleted, shouldn't we still display the node, just without the author information?
Comment #9
hardik_patel_12 commented