Set a public item to private and then back to public doesn't work

TyraelTLK - September 3, 2007 - 15:51
Project:Wishlist Module
Version:5.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Create a item.
Set it to Public (check "Public wish list item").
Save the item.
Modify the item, set it to private (uncheck "Public wish list item").
Save the item.
The item is still private.
You should manually set it to published.

#1

scott.mclewin - November 23, 2007 - 19:04
Status:active» postponed (maintainer needs more info)

I've never been able to reproduce this under the 5.x-2.0 version of the wishlist module, even following your steps exactly.

Perhaps this has to do with permissions. Could you investigate your configuration further to see if there are more details I need to reproduce the problem you've described?

#2

bittindm - November 28, 2007 - 01:05

I've experienced this with the latest version of Wishlist 5.x-2.0 and HEAD. Looking at the node table, it looks like setting an item to private makes it unpublished (status = 0) however setting it back to public does not change the status back to 1. It does however look like the correct value is going in to the wishlist table for item_is_public.

#3

scott.mclewin - November 28, 2007 - 14:08
Status:postponed (maintainer needs more info)» active

I was only trying to reproduce it on the wishlist display itself under /wishlist/$uid, that's why I don't see the problem.

 
 

Drupal is a registered trademark of Dries Buytaert.