do you see the edit button?

Author Message

Marko Žmak

Tuesday 22 August 2006 11:39:12 pm

Could someone take a look at this post:

http://ez.no/community/forum/general/default#msg107993

and tell me if it can see the edit button on the second post? The question is related to this bug:

http://ez.no/bugs/view/8865

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

K259

Wednesday 23 August 2006 12:06:42 am

I also have problems with postings. When i log in, I get the edit button on other users postings, not my own. This happens too often..

Claudia Kosny

Thursday 24 August 2006 11:49:12 am

Hello,

I have just seen it twice, both times the post I was seeing the edit button on was just a few minutes old. Both times the edit button was gone when revisiting the page another few minutes later.

Claudia

Kristof Coomans

Thursday 24 August 2006 11:51:39 am

I've seen this a couple of times before I became moderator, as well on comments on contributions. Now I'm having edit buttons everywhere :-)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Marko Žmak

Thursday 24 August 2006 12:40:51 pm

Now I DON'T see it too...

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Sunday 03 September 2006 11:22:50 pm

Now the same thing appeared here:

http://ez.no/community/forum/ez_components/downloadable_documentation#msg108939

Does anyone else see it?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Claudia Kosny

Sunday 03 September 2006 11:31:48 pm

Hi Marko

Yes.

Actually I can see it also on all of your postings in this thread.
Maybe it appears everywhere where the user that wrote the posting is still logged in?

Claudia

Marko Žmak

Sunday 03 September 2006 11:32:03 pm

Uf... Now I see it on this topic to:

http://ez.no/community/forum/suggestions/ez_publish_documentation_mirrors#msg108937

On the first post. Anyone else?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Monday 04 September 2006 12:37:22 am

Hm, maybe. If you are willing to do a test Claudia, I'll logout now and I'll be offline for about two hours. So if you see some of my posts during this time, please report here if you saw the edit button or not.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Claudia Kosny

Monday 04 September 2006 12:50:21 am

Well I don't see an edit button at your posts right now, but I can still see the button at James' post (the one you linked to).

EDIT: It is unlikely that my theory is valid - I have just read a post by Kristof Coomans that he wrote just 2 min ago and I did not see any edit button there and it looks like he is still logged in.

Claudia

Marko Žmak

Monday 04 September 2006 2:31:51 am

O.K. I'm logged in now. Do you see the edit buttons on my postings now?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Xavier Dutoit

Monday 04 September 2006 8:42:29 am

Hi,

Saw it on "Claudia's from luxembourg"'s post right now.

On on of my website (an intranet, lots of different users with different access rights), this happend quite often. I never managed to find a valid pattern, but that's more than likely a problem with the voodories with the cache(s).

X+

http://www.sydesy.com

Xavier Dutoit

Monday 04 September 2006 8:56:23 am

Don't have it anymore.

I guess that publishing my post has forced the forum topic page to be recalculated and with my profile (ie. the edit on my post).

If someone could confirm that there is an edit button on my post...

X+

http://www.sydesy.com

Marko Žmak

Monday 04 September 2006 10:22:53 am

Yes, I can see the edit button on your posts.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Monday 04 September 2006 10:23:46 am

P.S. Now after I posted a message here, the edit button is gone from your posts.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Xavier Dutoit

Monday 04 September 2006 10:14:04 pm

Ok,

You had the same pattern than myself (saw a for someone else cache until refreshed by your post).

Now, I see your post as it should be (without the edit). Why ? Is that because we waited long enough so the cache are recalculated ? Because someone with a different profile/group came and forced the page to be recalculated ? Something else ?

What´s the config ? does it use the smartcache ? Are they cache blocks in the templates ?

In this case, that´s not a big deal as the edit button leads to a page that won´t work if you don´t have the proper rights. However, that might be more problematic if you serve different content for different profiles...

Could one of the ez crew jump on the thread and give us more info about the config on ez.no and the voodoo rules for when a page is recalculated ?

X+

P.S. It´s been the same problem with the bug reports a while ago.

http://www.sydesy.com

Marko Žmak

Tuesday 05 September 2006 12:05:17 am

The pattern seems to be like this:

I see the edit button on all the posts belonging to the user that made the last post. When I add a new post to the thread, then I don't see the edit buttons any more. (the buttons disappear only when new post is posted in the same thread)
It seems that the button also disappears if a certain amount of time has passed since the moment the last post was created.

Maybe I should create a test user account on ez.no and test this behaviour further?

Xavier, you said that this also happens on your site too. Could you inspect it a little bit or share your site's config and template code, so that we could find out what's wrong?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Xavier Dutoit

Tuesday 05 September 2006 1:24:53 am

Hi Marko,

Actually, the intranet I mentionned is, by definition, on a server into my client's network and I don't have any access to it unless I visit them.

That's something I've seen there but didn't have the time to investigate and I've had users' bug report(s) as only way to get infos about the black box.

However, on most of my sites, the admin publish from within the public interface and I had strange things that might be related to your observations. Need more time to test and dig...

X+

http://www.sydesy.com

Xavier Dutoit

Thursday 09 November 2006 3:13:48 am

Final word on that topic: the contentview is cached based on the role, not the user. This mean that is you have rules based on, for instance owner=self (eg. you can only edit a post if you are the owner/creator), then you can't use the can_edit or any information specific to the user in a view full.

It seems that ez consider this as a feature and isn't going to fix it, so just be very carefull on what you do in the views.

See the discussion there:

http://issues.ez.no/IssueView.php?Id=9362&activeItem=3

http://www.sydesy.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.