Not choosing any view not possible

najibx - June 8, 2009 - 05:49
Project:Viewfield
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

I wish to use "none" as the default value, however this is NOT available in the option. This option however is available in the node add/edit for enable content type containing this viewfield. Unfortunately it also can't be change to "None" neither. (change to other views is fine). It does not being save properly.

#1

drupal@octlabs.com - June 15, 2009 - 00:10
Priority:normal» critical

confirm

#2

Darren Oh - June 15, 2009 - 12:20

Isn't that the same as not having a default value?

#3

drupal@octlabs.com - June 18, 2009 - 09:33

any other default value excluding is working.
workaround, i created a ("clear") view with no result an set this as default.

#4

jvieille - June 28, 2009 - 13:08

Subscribe. Need a "none" option
This is a year old issue

#5

Darren Oh - June 29, 2009 - 15:25
Status:active» by design

If you want 'none' to be the default, don't set a default value.

#6

Standart - August 11, 2009 - 20:47
Title:Use common default value "none" not possible» Not choosing any view not possible
Status:by design» active

Maybe I miss something. How can I not set a default? I did not check "Use a common default value for all nodes if the user does not override it on the node form." but still the select box shows the first view and in my node edit form it's automatically selected. I can't find a way to not show a view at all.

#7

Standart - August 11, 2009 - 21:17

The hack in http://drupal.org/node/509406#comment-1794048 fixes this for me. I just don't get the connection from the "common default" option and the select box as I have to select some default value anyways.

#8

lesmana - August 11, 2009 - 21:48
Status:active» duplicate

This is a symptom of the issue described in #509406: Selecting <None> displays the first view of the site (and it's not even in the allowed list ;). Marking as duplicate.

 
 

Drupal is a registered trademark of Dries Buytaert.