Publish link doesn't appear in Views.

maryts23 - April 24, 2009 - 10:30
Project:Publish Content
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:malaussene
Status:closed
Issue tags:views
Description

Hi there, i have read previous issues regarding this matter, but i didnt see a solution to it. I have created a view listing various ads from the current user, and it should have displayed the publish link too, with no result.

It there any patch for this or something?

#1

maryts23 - April 24, 2009 - 10:42
Status:duplicate» active

#2

malaussene - April 24, 2009 - 19:53
Status:active» postponed (maintainer needs more info)

Hi maryts23,

Sorry but I was not able to reproduce your issue.

Did you add the Publish Link field in your view like here?

malaussene

#3

maryts23 - May 6, 2009 - 11:06

Hi malaussene,

thanks for replying. I actually have added the "Publish link" field in my view but it does not display when i put permissions such as "publish own ". if i check "publish "all" content", it does appear. but the point is, a user should "publish/unpublish" their own content, not someone elses.

I just don't understand why it doesn't work!!

#4

Taz - May 18, 2009 - 03:07
Status:postponed (maintainer needs more info)» active

I also have this user. When logged in as a normal user with an 'authenticated role', and given that user has the ability to only publish/unpublish their OWN content as per the permissions, it doesn't display in views.

Does display for user 1, but that speaks for itself.

#5

malaussene - May 18, 2009 - 04:34
Assigned to:Anonymous» malaussene
Status:active» fixed

Hi maryts23 and Taz,

it should be fixed now in CVS DRUPAL-6--1, should be in the dev package by tomorrow.
You should probably clean the views cache, and if it is not enough he all cache.

please let me know if the fixes work for you.

kmalaussene

#6

Taz - May 18, 2009 - 04:52

Ah, I just found the problem myself and was about to submit a patch!

I found the problem in the views handler, the fake $node not having the uid set.

#7

System Message - June 1, 2009 - 05:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.