? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
5 Sep 2017

Pull Request for Issue #17867.

Summary of Changes

Changing the category when editing an article redirects to the start page. This pr fixes that bug.

Testing Instructions

  • Log in on the back end
  • Create a second category for an article
  • Create an article with the title DEMO and give the Registered and Author groups edit and edit state right
  • Create a new user which is assigned to the Registered and Author group, NO super admin
  • Log in on the front with this new user
  • Edit the article with the title DEMO
  • Open the publishing tab
  • Change the category

Expected result

The edit form is reloaded.

Actual result

It redirects to the wrong url.

avatar joomla-cms-bot joomla-cms-bot - change - 5 Sep 2017
Category Front End com_content Libraries
avatar laoneo laoneo - open - 5 Sep 2017
avatar laoneo laoneo - change - 5 Sep 2017
Status New Pending
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Sep 2017

@GCLW one more (last one):

  • Please open Issue Tracker
  • Login with your github-Account
  • Click on blue "Test this"-Button above Authors-Picture
  • mark your Test as (un)successfully
  • hit "submit test result"
avatar GCLW GCLW - test_item - 5 Sep 2017 - Tested unsuccessfully
avatar GCLW
GCLW - comment - 5 Sep 2017

I have tested this item ? unsuccessfully on bb8c950

Installed 3.8.0-beta4 locally with sample data.
Replaced the two files that cover the fix.
Setup a user that is Registered and an Author.
Created a custom field under content; just keeping default params
logged into the front end of the website, clicked on the "Create an Article" menu item.
Clicked on the Publishing tab.
Clicked on the Category dropdown and changed it from "Uncategorised" to "News", the overlay occurs and the page is then redirected from: index.php/create-an-article to: index.php/create-an-article?view=categories

Same issue as before.


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

avatar laoneo
laoneo - comment - 5 Sep 2017

Did it work when editing an article? Can you also test with the latest staging?


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

avatar GCLW
GCLW - comment - 5 Sep 2017

It works when editing an article.
If I create an article and leave the category set to "Uncategorized", save it. And edit the article I can change the category dropdown without issue.
All done through the front end.

I honestly thought I did select the most recent version of 3.8 (beta 4)

avatar wojsmol
wojsmol - comment - 5 Sep 2017

@GCLW Please test on staging branch

avatar laoneo laoneo - change - 6 Sep 2017
Labels Added: ?
avatar laoneo
laoneo - comment - 6 Sep 2017

Can you please test it again as it should work now with adding an article.

avatar laoneo
laoneo - comment - 6 Sep 2017

You need to mark it as successful on issues.joomla.org

avatar GCLW GCLW - test_item - 6 Sep 2017 - Tested successfully
avatar GCLW
GCLW - comment - 6 Sep 2017

I have tested this item successfully on 07888d2

After testing on the latest staging 3.8.0 with this fix, I am now able to change categories on the front end when creating or editing an article with Registered and Author privileges.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Sep 2017

Didn't get this issue: On clean Installation and settings like described above change an Article-Category from "en-gb" to "de-at" works without Pull Request as expected.

System information

3.8.0-rc1-dev
Multilanguage Site
macOS Sierra, 10.12.6
Firefox 55 (64-bit)

MAMP 4.1.1

  • PHP 7.0.15
  • MySQLi 5.6.35
avatar laoneo
laoneo - comment - 6 Sep 2017

Are you a none super admin user?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Sep 2017

Logged-in as User which is assigned to the Registered and Author group.

avatar GCLW
GCLW - comment - 6 Sep 2017

This pertains to front end article creation and editing by a user with Registered and Author permissions.
and you need at least one custom field created. That is the key to the error.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Sep 2017

Haven't a custom Field used and created the Test-Article in Backend.

Will try with updated Instructions.

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 6 Sep 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Sep 2017

I have tested this item successfully on 07888d2


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Sep 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Sep 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 7 Sep 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-09-07 00:29:43
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 7 Sep 2017
avatar mbabker mbabker - merge - 7 Sep 2017

Add a Comment

Login with GitHub to post a comment