? ? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
11 Oct 2015

This PR to replace #8038 where nested is not taken into account.
How to test:

Navigate to Category Manager
Create a main category
Create a sub-category that is related to the new main category
Unpublish the main category
Both main & sub-category will get unpublished
Click on the sub-category and try to publish and check the message

Do the same for sub_menus and sub_tags

avatar infograf768 infograf768 - open - 11 Oct 2015
avatar infograf768 infograf768 - change - 11 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2015
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 11 Oct 2015

Result would be of the type:
screen shot 2015-10-11 at 19 28 56

avatar zero-24 zero-24 - change - 11 Oct 2015
Category Administration UI/UX
avatar zero-24 zero-24 - change - 11 Oct 2015
Easy No Yes
avatar wilsonge
wilsonge - comment - 11 Oct 2015

We should use an error message type when it's not successful. Nice spot tho JM :)

General question. Should we queue the actual error messages? So the user actually understands why things have failed. For example if they haven't touched the parent category for a while they might be confused that they can't publish the child cateogry

Obviously though this is a needed bug fix!

avatar infograf768
infograf768 - comment - 12 Oct 2015

As we check that the reason for failing is clear, I am changing the string values.
Example:

COM_TAGS_N_ITEMS_FAILED_PUBLISHING="Failed publishing %d tag as at least one of their parents is unpublished."
COM_TAGS_N_ITEMS_FAILED_PUBLISHING_1="Failed publishing %d tag as at least one of its parents is unpublished."
avatar infograf768
infograf768 - comment - 12 Oct 2015

@wilsonge
Changed the normal message to Error.
We would now get for example:
screen shot 2015-10-12 at 09 12 22

avatar YouriiM26 YouriiM26 - test_item - 12 Oct 2015 - Tested successfully
avatar YouriiM26
YouriiM26 - comment - 12 Oct 2015

I have tested this item :white_check_mark: successfully on 96595de

Works perfect for me. Thanks!


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

avatar Hils
Hils - comment - 12 Oct 2015

I haven't got the complete context in front of me just now but 'failed to publish...' is better en-GB than 'failed publishing...'.

avatar infograf768
infograf768 - comment - 13 Oct 2015

Folks, let's wait for that one. I found a possible problem in nested.php which may have to be solved first.
See #8082

If it can't be solved, we may have to add a new condition in this PR with new language strings, or simplify with no condition by not explaining in the string the reason of the failure.

avatar joomla-cms-bot
joomla-cms-bot - comment - 14 Oct 2015

This PR has received new commits.

CC: @YouriiM26


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

avatar infograf768
infograf768 - comment - 14 Oct 2015

Changed PR as it is unlikely that #8082 would be changed.
The new string is now of the type:

COM_CATEGORIES_N_ITEMS_FAILED_PUBLISHING="Failed publishing %d categories as at least one of their parents is unpublished or one of their children is checked out."
COM_CATEGORIES_N_ITEMS_FAILED_PUBLISHING_1="Failed publishing %d category as at least one of its parents is unpublished or one of its children is checked out."

Thank you for testing again.

avatar fontanil
fontanil - comment - 14 Oct 2015

@test:
Patch works here. Thanks

avatar zero-24 zero-24 - alter_testresult - 14 Oct 2015 - fontanil: Tested successfully
avatar YouriiM26 YouriiM26 - test_item - 15 Oct 2015 - Tested successfully
avatar YouriiM26
YouriiM26 - comment - 15 Oct 2015

I have tested this item :white_check_mark: successfully on 93157fa

Patch works.


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

avatar zero-24 zero-24 - change - 15 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 15 Oct 2015
Milestone Added:
Status Pending Ready to Commit
Labels
avatar zero-24
zero-24 - comment - 15 Oct 2015

RTC. Thanks


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

avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2015
Labels Added: ?
avatar rdeutz rdeutz - change - 17 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-17 10:18:22
Closed_By rdeutz
avatar rdeutz rdeutz - reference | ce8b80a - 17 Oct 15
avatar rdeutz rdeutz - merge - 17 Oct 2015
avatar rdeutz rdeutz - close - 17 Oct 2015
avatar infograf768 infograf768 - head_ref_deleted - 17 Oct 2015
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar wilsonge wilsonge - change - 17 Jan 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment