User tests: Successful: Unsuccessful:
Another bug found while developing Empty States :) One a security bug.
These bugs are in Languages, Newsfeeds, Tags and Notes.
The bug is that the code below makes no sense. What its TRYING to do is only show the Trash button (in the Actions dropdown menu) when the filter for the published dropdown is NOT trashed.
But what it ACTUALLY is doing (by mistake) is making it IMPOSSIBLE to Trash items IF you have a filter set (Select Published from the Status filter for example)
if (!$this->state->get('filter.published') == -2)
An example test case showing the difference in the code is here https://3v4l.org/XTPkK
That is resolved in this PR
Component | Trash Button Bug |
---|---|
Languages | Has Trash Button Bug |
Newsfeeds | Has Trash Button Bug |
Tags | Has Trash Button Bug |
User Notes | Has Trash Button Bug |
Component | Trash Button Bug |
---|---|
ALL * | No Trash Button Bug |
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_banners com_contact com_languages com_newsfeeds com_tags com_users |
Labels |
Added:
?
|
Category | Administration com_banners com_contact com_languages com_newsfeeds com_tags com_users | ⇒ | Administration com_contact com_languages com_newsfeeds com_tags com_users |
Category | Administration com_contact com_languages com_newsfeeds com_tags com_users | ⇒ | Administration com_languages com_newsfeeds com_tags com_users |
Title |
|
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-04-30 10:10:22 |
Closed_By | ⇒ | richard67 | |
Labels |
Added:
?
|
Thanks!
updated code and description of the PR