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 |
Jump to:
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
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
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
I was only trying to reproduce it on the wishlist display itself under /wishlist/$uid, that's why I don't see the problem.