Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Articles via Category List redirected to Start Page without opening Editor Modus (doesnt matter which Editor i use) #9343

Closed
staniii1 opened this issue Mar 8, 2016 · 7 comments

Comments

@staniii1
Copy link

staniii1 commented Mar 8, 2016

Steps to reproduce the issue

Hi i got a Problem with Editing my Articles.
This only happens when an User of the Usergroup Author (or lower permission) forgets to Check-Out while Editing (e.g. "close Browser without Log-Out").
If he's actually Checking out this doesnt happen.

So on my Intranet Page are 2 existing Ways to Edit an Article.

# 1. Way (error)

Edit Button
Click on the Category in the MainMenu which opens a Category List.
This Category List shows all my Articles within one Category, and next to them is an Edit Button for every Article in that list.
If i click on the Edit Button i get redirected to the Starting Site - the Editor Mode doesnt even open.
Additionaly the Article gets Checked-in (even if i just Checked-Out in the Backend)
Further Info: If i wait several hours/days between Checking-Out in the Backend and trying to Edit in the Front-End it works - most of the time.
Anways this is the Link the Edit Button calls:
http:////index.php/de-de/mm-system/hse-managment?task=article.edit&a_id=65&return=aHR0cDovL2ludHJhbmV0LmV0aW1leC10Yy5jb20vaW50cmFuZXQvaW5kZXgucGhwL2RlLWRlL21tLXN5c3RlbS9oc2UtbWFuYWdtZW50

2. Way ( working)

screen shot 2016-03-08 at 05 28 38
Open the Article directly in the Menu (so no Category List involved).
There is a gear icon which allows me to edit aswell. If i click that edit button i get a diffrent
Link:

http:////index.php/de-de/mm-system/hse-managment/arbeits-u-gesundheitsschutzmanagment?task=article.edit&a_id=65&return=aHR0cDovL2ludHJhbmV0LmV0aW1leC10Yy5jb20vaW50cmFuZXQvaW5kZXgucGhwL2RlLWRlL21tLXN5c3RlbS9oc2UtbWFuYWdtZW50L2FyYmVpdHMtdS1nZXN1bmRoZWl0c3NjaHV0em1hbmFnbWVudA==

This Way it works without any problems.

But i have 800 Users and about 20 Editors daily.
Most of them use Way 1, since its the more common thing to do and yeah as expected some of them forget to check-out, daily...
So this means a lot of our Intranet Content is not able to get edited for days..
I would really appreciate if u could help me with that dilema.

EDIT:
Just checked my php_error_log from Appache - this might be relevant

[08-Mar-2016 11:48:44 Europe/Berlin] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\intranet\administrator\components\com_content\models\article.php on line 555

[08-Mar-2016 11:50:40 Europe/Berlin] PHP Notice: Undefined index: associations in C:\xampp\htdocs\intranet\administrator\components\com_content\models\article.php on line 553

Expected result

Both Ways should be possible OR
Disable Way 1.

Actual result

System information (as much as possible)

Windows Server 2008 R2
XAMPP (Apache, MySQL)
Virtual Server VMware
Joomla 3.4.3

Additional comments

@staniii1
Copy link
Author

staniii1 commented Mar 8, 2016

//php_error_log from Appache - this might be relevant

[08-Mar-2016 11:48:44 Europe/Berlin] PHP Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\intranet\administrator\components\com_content\models\article.php on line 555

[08-Mar-2016 11:50:40 Europe/Berlin] PHP Notice: Undefined index: associations in C:\xampp\htdocs\intranet\administrator\components\com_content\models\article.php on line 553


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

@ChocLawrence
Copy link

Hello,
Thanks for bringing the issue to notice.Im trying to look into the innner workings of Joomla.Im new to this community.Will be glad to help.ill appreciate if im enlightened on this issue.It is a very critical issue.Looking into it


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

@brianteeman
Copy link
Contributor

@Staniii are you still having this problem


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

@staniii1
Copy link
Author

Yeah i still have the Problem, sometimes.
In some cases you can fix it if the User that locked the Article Re-Logs.


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

@ghost
Copy link

ghost commented Jan 29, 2017

  • Article by Member of User Group "Author" which has closed his Browserwindow got as Superuser: Checked out in Menu "Category List".
  • After Check-in in Backend Article is editable in Frontend.

Looks like Issue resolved. Tested on 3.7-staging.

@ghost
Copy link

ghost commented Apr 3, 2017

@staniii1 can you please test if this Issue is solved in 3.7?


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

@brianteeman
Copy link
Contributor

I am closing this issue at this time as it now appears to be resolved. It can always be reopened if that is not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants