J3 Issue ?
avatar onderzoekspraktijk
onderzoekspraktijk
31 Aug 2017

Steps to reproduce the issue

Set up a new content category: frontend-edits. Create acl settings for usergroup frontend-editors: login rights to the frontend and set permissions for the frontend-edits category on Create, Delete, Edit, Edit State and edit Own: all allowed.
Create a new user in that usergroup.
Create a menu item frontend-article-creator, using Create Article.

Login as user in the frontend-editor group at the frontend. Click menu item frontend-article-creator, and use the Create Article function: type a title and some article text, click Save.

Expected result

The article should be published. And a system notification should report this.

Actual result

The article will be submitted, and a notification message will tell so.
The article is not published, but a notification mail is send to users that receive System Emails.
The author of the article can - at the frontend in a blog-menu of the category - see the not-published article and edit this. It is possible to edit the state of the article and changethis to published. After saving the article it will now be published.

System information (as much as possible)

New plain version of Joomla 3.5.7 (right out of the box) with php 7.0.21 on 10.1.25-MariaDB.

The expected behavior changed but I am not sure when (i.e. starting which Update) exactly.

Additional comments

I think this is a bug (why otherwise the possiblity to publish the article for the frontenend editor after all). Perhaps this is somehow related to the new custom fields function?

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar onderzoekspraktijk onderzoekspraktijk - open - 31 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Aug 2017
avatar onderzoekspraktijk onderzoekspraktijk - change - 1 Sep 2017
Title
frontend created articles are not published but onlu sunmitted
frontend created articles are not published but only submitted
avatar onderzoekspraktijk onderzoekspraktijk - edited - 1 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 2 Sep 2017

Issue confirmed.

Hint: Choose in Menu "Create Article" Category "frontend-edits".

System information

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

MAMP 4.1.1

avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2017
Category com_content ACL com_content com_users
avatar franz-wohlkoenig franz-wohlkoenig - change - 2 Sep 2017
Status New Confirmed
avatar onderzoekspraktijk
onderzoekspraktijk - comment - 2 Sep 2017

Thanks for confirming.
As to the hint:
Okay for 1 category, not so okay for a website I manage with 12 separate categories for lots more separate users. By not setting in category in the menu "Create Article" I sort access for al these users into each seperate category out of the 12 used. Really handy.


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

avatar sanderpotjer
sanderpotjer - comment - 3 Sep 2017

I looked at this, but the issue is that when the "Create article" view is loaded without a specific category set in the menu items options, Joomla does not know the category you are posting the article in. See https://github.com/joomla/joomla-cms/blob/staging/components/com_content/models/form.php#L124

Depending on the ACL settings this can be 1 specific category, but also 100. So because there is no Category ID yet, Joomla is checking for the core.edit.state permission of com_content, and not a specific category. You can test this by allowing the Edit State action for the Article manager, and then the article will be published when submitted.

There is not an easy fix for this, as it requires to make the frontend submission reloading its data / ajax when changing the category, so the correct permissions are checked.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Sep 2017

@sanderpotjer should docs get this Information about choosing a Category or not?

avatar onderzoekspraktijk
onderzoekspraktijk - comment - 4 Sep 2017

@sanderpotje:
"I looked at this, but the issue is that when the "Create article" view is loaded without a specific category set in the menu items options, Joomla does not know the category you are posting the article in."

Not so, as I wrote earlier: I had this working in Joomla for a period of years!
I am not competent to judge if it will be or won't be "an easy fix". Bit something changed and made it impossible where before it just worked okay.
All I did was create a usergroup and give that permissons for one category: the permissions to Create, Delete, Edit, Edit State and Edit Own.
In the site I developed this became: 15 categories, with permissions set for 20 users.
Worked flawlessly for years.
Now it still works, but articles are only submitted after saving them.
When still logged in the user can see this as a newly submitted article, open it, and click on the publish state to set this from unpublished to published.
So this went form userfriendly and elegant to userunfriendly and ugly.
I would be very sorry if this stays like this. But then again: I am no coder, so if someone tells me this is inevitable. So be it. Still: I do not understand why this impossibility worked so well before al these years.

(If the code cannot be recreated, and this setting will definitely not work anymore, I will create 15 menu items, each for one category, and each viewable for the one usergroup only. This will work, but to me it feels clunky.)

Thank you.

Greetings,
Paul

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Sep 2017

any Suggestion, @sanderpotjer?


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Sep 2017
Status Confirmed Information Required
avatar sanderpotjer
sanderpotjer - comment - 28 Sep 2017

I haven't had time yet to look into this.


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Sep 2017
Status Information Required Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Sep 2017

Thanks for Info @sanderpotjer


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

avatar denniskobus
denniskobus - comment - 2 Oct 2017

I have the same issue: for years i was able to let users automaticaly post to the one category they had access to. But suddenly (i think since 3.8.0) all categories are listed, and since they are not used to setting the category they post to a category they don't have rights to and get an error

if this is supposed (new) behaviour then there is a backward compatibility issue.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17812.
avatar ggppdk
ggppdk - comment - 2 Oct 2017

@denniskobus

i think you have (probably) posted into the wrong issue

PR that fixes your issue is already merged (aka will be in J3.8.1)

and it is this
Fix top-level category allowed to be selected for new / existing records, despite disallowed via ACL core.create #18131

Also fix is included in J3.8.1-rc
https://github.com/joomla/joomla-cms/releases

you can test J3.8.1-rc in testing website

avatar denniskobus
denniskobus - comment - 2 Oct 2017

I think you are right. Great that there is already a solution!

thanks,
Dennis

Op 02-10-17 om 14:51 schreef Georgios Papadakis:

@denniskobus https://github.com/denniskobus

i think you have (probably) posted into the wrong issue

PR that fixes your issue is already merged (aka will be in J3.8.1)

and it is this
/Fix top-level category allowed to be selected for new / existing
records, despite disallowed via ACL core.create/ #18131
#18131

Also fix is included in J3.8.1-rc
https://github.com/joomla/joomla-cms/releases

you can test J3.8.1-rc in testing website


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17812 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae86-spbPO7pdwMvvn-eT5cZzksVcQG_ks5soNxrgaJpZM4PJitl.

avatar pepperstreet
pepperstreet - comment - 8 Mar 2018

Should this issue be closed? Since we have J!3.8.5 in the wild... ;)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 Mar 2018

@onderzoekspraktijk is this Issue solved so it can be closed?

Thanks @pepperstreet.

avatar franz-wohlkoenig franz-wohlkoenig - change - 10 Mar 2018
Status Discussion Information Required
avatar onderzoekspraktijk
onderzoekspraktijk - comment - 11 Mar 2018

On 10/03/2018 20:37, Franz Wohlkönig wrote:

@onderzoekspraktijk https://github.com/onderzoekspraktijk is this
Issue solved so it can be closed?

Thanks @pepperstreet https://github.com/pepperstreet.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#17812 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ0G3qN-qVP-xKkFUte3UCroyBzIzDpiks5tdCtggaJpZM4PJitl.

I wil check this the coming days and report what I found.

avatar onderzoekspraktijk
onderzoekspraktijk - comment - 12 Mar 2018

Just now checked this on an joomla 3.8.5 site: the 'new' behaviour is stiil there: no change since this was reported on sept 1, 2017.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Mar 2018

thanks for Info @onderzoekspraktijk

Should this issue be closed? Since we have J!3.8.5 in the wild... ;)

@pepperstreet so this Issue can't be closed.

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 7 Apr 2018
Status Information Required Discussion
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 7 Apr 2018
avatar onderzoekspraktijk
onderzoekspraktijk - comment - 29 Apr 2018

Just read a post about a similar issue in the Joomla! CMS Development goup: Administrator Link To Edit Article With Pre~Selected Category
(https://groups.google.com/forum/#!topic/joomla-dev-cms/HR79lu-4-AQ) .
There Randy Carey reports a change in behavior that was present up through 3.1.x, "but (inadverantly) removed in 3.2 with code that changed how input parameters store the filter settings. I wrote this plugin to restore this behavior, as I depend upon this behavior to give clients dashboard links to pages with preset filters."


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17812.
avatar brianteeman brianteeman - change - 30 Oct 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 30 Oct 2018
avatar Milglius
Milglius - comment - 26 Jul 2019

This bug torment joomla users for couple years now.

@onderzoekspraktijk can you share your joomla bug fix submit pull request to fix this big joomla issue?

Or maybe other joomla developer have better solution to solve this joomla 3.9.10 bug issue?

Joomla users are very dissapointed to not beeing able to see their joomla article.

I confirm Joomla 3.9.10 bug in frontend created articles are not published but only submitted.

avatar onderzoekspraktijk
onderzoekspraktijk - comment - 26 Jul 2019

"@onderzoekspraktijk can you share your joomla bug fix submit pull request to fix this big joomla issue?"

Sadly I do not have a bug fix to submit: writing one is beyong me level of competence.
I did report a a post by Randy Carey in which he told he wrote a plugin that solved a comparable issue. This plugin however does not solve the issue I reported.

avatar Milglius
Milglius - comment - 29 Jul 2019

Its big joomla bug and joomla 3.9.10 backward compatibility issue

So no one have created joomla bug fix to submit and test?

Sadly no one from joomla core dev team is trying to solve this joomla 3.9.10 backward compatibility issue

Its very interesting why joomla 3.9.10 users can't from frontend create articles and publish but only can submit? But in older joomla 3 versions they could do that.

Joomla core dev team do not keep and is in breach of their promisse to keep joomla 3 backward compatibility or .... ?

avatar Milglius
Milglius - comment - 2 Aug 2019

@onderzoekspraktijk Please state the exact version of Joomla where you consider it was working fine and I will have a look.

avatar alikon
alikon - comment - 2 Aug 2019

it seems before Joomla 3.5.7 as stated by @onderzoekspraktijk on the op

avatar infograf768
infograf768 - comment - 2 Aug 2019

It is unrelated to #25757

avatar jwaisner jwaisner - change - 18 Mar 2020
Status Discussion Confirmed
Build master staging
avatar indyteo
indyteo - comment - 13 Nov 2020

This issue still don't have a fix?
I'm using 3.9.22 and even with my Super User account, when creating article in front end, the article only get submitted and I receive a back end message, but I have to go to the article list in back end to publish manually the articles.
I'm confused that there no way that the articles created in front end are automatically published anymore...

avatar joomdonation
joomdonation - comment - 20 Feb 2021

PR #32117 should fix this issue, too

avatar richard67 richard67 - close - 20 Feb 2021
avatar richard67
richard67 - comment - 20 Feb 2021

Closing as having a pull request. Please test #32470 . Thanks in advance.

avatar richard67 richard67 - change - 20 Feb 2021
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2021-02-20 13:32:24
Closed_By richard67

Add a Comment

Login with GitHub to post a comment