By Frank K. on Monday, 24 May 2021
Posted in General Issues
Likes 0
Views 658
Votes 0
Hi,
My workflow for creating a new article works
1. Author creates article, 2. Publisher reviews and approves

But when the 'Author' edits the same article (normal edit redirected to EA) after it has been published and sends it for review, the 'Publisher' sees it in pending, can also approve or reject, but cannot edit the pending article.

Is this the expected behavior?

Thanks!

Frank
Do you mean that the moderator unable to edit the moderation post when the author re-submit for review the second time?

If yes, it seems like I can't replicate this issue in my local, can you update the following details at https://stackideas.com/dashboard/site so we can better have a check?

1. your licensed backend login credentials

2. FTP login credentials

3. Which moderation post having this issue
·
Monday, 24 May 2021 10:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,
I noticed that you actually have the same behavior on your test site: http://easyarticles.stackideas.com

Try the following:
1. Login as an author (e.g. Danny Miler), go to 'Posts' and edit an existing article. Then submit it for approval.
2. Login as moderator (e.g. Darius Scott), go to 'Pending' and select the article you just changed with the other user. You cannot open it to see the change, but you can approved.

I think the user in 2. must be able to review the change before approving.

Thanks.

Frank
·
Wednesday, 26 May 2021 01:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Okay, I can replicate the issue now.

Can you open this file JoomlaFolder/administrator/components/com_easyarticles/includes/post/adapters/com_content.php and check my attached screenshot below then find the following line code :


if ($canEdit && $this->isPending() && !EA::isSiteAdmin()) {


Replace with,


if ($canEdit && $this->isPending() && !$this->canModerate()) {
·
Thursday, 27 May 2021 13:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi!
Sorry for the late reply! This worked for me. I would appreciate if you would include this fix in the core package.
Thanks!
Frank
·
Thursday, 15 July 2021 13:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, we will include the fix in the next release version.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 15 July 2021 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post