Download & Extend

Domain Source sets incorrect default value on node edit form

Project:Domain Access
Version:6.x-2.x-dev
Component:- Domain Source
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

If a node has been saved with the default domain (id 0) as its "source," the Domain Source field on the node edit form incorrectly defaults to whichever domain the form is accessed from.

AttachmentSize
domain_source-form-default-value.patch909 bytes

Comments

#1

Status:active» patch (to be ported)

Nice catch. The current code doesn't account for id 0, so this applies to nodes assigned to the root domain. (Or course, those are typically edited from the root domain, which is why we never spotted this.)

Committed to HEAD.

#2

Status:patch (to be ported)» fixed

Committed to D5 as well.

#3

Status:fixed» closed (fixed)

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