Page 1 of 1

strange observation, maybe bug in -master and -issue64

Posted: Fri Oct 23, 2020 8:54 pm
by dsteuer
After installing -issue64 and a simple login/logout, without doing anything, under "last entries" the example page is prepended with [edit].
The edit link does not work. When clicked the page refreshes and [edit] is gone.

I see the same with master, but with that installation I had played aroound a bit.

Can't remember that phenomenon from earlier attempts may be overlooked it?

Re: strange observation, maybe bug in -master and -issue64

Posted: Sat Oct 24, 2020 7:21 pm
by Arvid
Thanks for reporting this. Sounds like a cache problem - does it still occur when you refresh the FlatPress caches (Admin area -> Maintain -> Purge theme and templates cache)?

Re: strange observation, maybe bug in -master and -issue64

Posted: Sat Oct 24, 2020 8:37 pm
by dsteuer
No, does not help. With and without clearing the cache the same appearance.

After logout the right panel still shows [logout] , resp shows what it shows when logged in.
Admin Area
Add Entry
Logout

and

[edit] Welcome to flatpress.

Reloading changes to what would be expected. (all with -issue64 branch)

Detlef

Re: strange observation, maybe bug in -master and -issue64

Posted: Mon Dec 28, 2020 11:50 am
by Arvid
I was able to reproduce this behaviour, it's not related to the issue64 branch.

If you log out from your main page, the "edit" links of the LastEntries plugin stay. (It disappears with the next action.) If you click on it, you are redirected to the login form (which you come from, so it looks like nothing happened). This is correct since you called the URL to edit the entry, and you need to be logged in for that. What is not correct is that the edit link is shown after logout.

I opened an issue for it, thanks for reporting!

All the best,
Arvid