Download & Extend

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

Project:Wishlist Module
Version:5.x-2.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

Comments

#1

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

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

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.

#4

Status:active» closed (fixed)

In reviewing open issues I see that I fixed this a long time ago, but never closed out the issue. Closing.

nobody click here