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.

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new206.88 KB
new92.73 KB
new923 bytes
kishor_kolekar’s picture

Assigned: Unassigned » kishor_kolekar
hardik_patel_12’s picture

Title: Node Revision page for non-existing revision returns fatal error, should be 404 » Node owner check is missing
Issue summary: View changes
hardik_patel_12’s picture

Issue summary: View changes
kishor_kolekar’s picture

Status: Needs review » Needs work

Hi @Hardik_Patel_12
I tried to apply your patch but not able to reproduce the issue please have a look.

Thanks !

hardik_patel_12’s picture

Assigned: kishor_kolekar » Unassigned
longwave’s picture

Issue tags: +Needs tests

I 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?

hardik_patel_12’s picture

Status: Needs work » Closed (works as designed)