Download & Extend

Unable to edit node if noderef is empty and no NID behavior set to 404

Project:Node Reference URL Widget
Version:6.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If a required noderef field populated by a url was never populated and the widget is set to 404 on no url nid, the node throws a 404 on attempting to edit it.

This situation can occur due to #620626: NodeReference URL does not honor content_access permissions.

Comments

#1

Status:active» fixed

The Node Reference URL Widget does not know what fallback to use (select list, empty value, or autocomplete) when the fallback is already set to a 404 error, so this is a bit hacky. Since autocomplete is the most versatile (capable of handling very large lists), I've set it to be the fallback-fallback to prevent this error in the future.

AttachmentSize
nodereference_url_edit_fallback.patch 964 bytes

#2

Title:Unable to edit node if noderef is empty and no uid behavior set to 404» Unable to edit node if noderef is empty and no NID behavior set to 404

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here