? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
30 Oct 2017

Pull Request for Issue #18442

Summary of Changes

As the modal uses multiple, the filter_articles xml in frontend has also to use that.
Is also added here the possibility to filter by No User as in #18440

Testing Instructions

See #18442

Expected result

No more 500 or PHP Warning. Filtering works OK after patch.

@brianteeman

After patch
screen shot 2017-10-30 at 11 02 22

avatar infograf768 infograf768 - open - 30 Oct 2017
avatar infograf768 infograf768 - change - 30 Oct 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Oct 2017
Category Front End com_content Language & Strings
avatar infograf768 infograf768 - change - 30 Oct 2017
The description was changed
avatar infograf768 infograf768 - edited - 30 Oct 2017
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 31 Oct 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Oct 2017

I have tested this item successfully on b81f778


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18445.

avatar coolcat-creations coolcat-creations - test_item - 31 Oct 2017 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 31 Oct 2017

I have tested this item successfully on b81f778


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18445.

avatar franz-wohlkoenig franz-wohlkoenig - change - 31 Oct 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 31 Oct 2017

RTC after two successful tests.

avatar brianteeman
brianteeman - comment - 31 Oct 2017

As the null value is -select author- shouldnt the new string be "no author"


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18445.

avatar infograf768
infograf768 - comment - 31 Oct 2017

used the same string value as in backend when choosing ‘- No User -‘ in the modal. no need to change imho to be consequent.

avatar infograf768
infograf768 - comment - 31 Oct 2017

I also think that whoever chose the term ‘user’ understood it is selecting a user as author. the result being a user name or none.

avatar coolcat-creations
coolcat-creations - comment - 31 Oct 2017

Means this label shows every article that has no author? When does that happen?

avatar infograf768
infograf768 - comment - 1 Nov 2017

Means this label shows every article that has no author? When does that happen?

When you edit an article in backend you can select a user as author. The modal lets you chose No User.

@brianteeman
in fact, after a good night sleep, I think you are right. For this pr as well as the other one for backend, as we filter by author, I suggest we use « None », i.e. JNONE
I propose we let these 2 pr be merged and then make a specific pr to change the string constant.
What do you think? I also contacted @mbabker concerning this merge.

If you prefer No Author, we would just have to add this new string both in front and backend.

avatar coolcat-creations
coolcat-creations - comment - 1 Nov 2017

I just tested it, and it does not work. If i click at "No user" the article gets reasigned to Superuser. (not related to this PR) So it's not possible to show articles that have no user assigned because there is always an author.

Edit: Correction: If i create a new article and select No User it gets assigned to Super User anyway, just when i open it again and remove the user the autor is gone.

avatar brianteeman
brianteeman - comment - 1 Nov 2017

@infograf768 i agree with JNONE and a new pr for that

avatar mbabker mbabker - change - 1 Nov 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-11-01 12:11:02
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 1 Nov 2017
avatar mbabker mbabker - merge - 1 Nov 2017
avatar infograf768
infograf768 - comment - 1 Nov 2017

@infograf768 i agree with JNONE and a new pr for that

will do as well asanother improvement for the managers

avatar infograf768
infograf768 - comment - 1 Nov 2017

@coolcat-creations
Chosing No User will only work when editing an article already saved.
nouser

Add a Comment

Login with GitHub to post a comment