Information Required J3 Issue ?
avatar Duddy67
Duddy67
20 Jun 2019

Steps to reproduce the issue

Select some articles in the backend article list.
Click on the Batch button then change the category of these articles.

Expected result

The selected articles are now in the category selected in the batch window.

Actual result

Error messages occur but in a very random way.

It can be this one:

Batch process failed with following error: Joomla\CMS\Table\Asset::moveByReference() is trying to make record ID 68 a child of itself.

or this one:

1062 Duplicate entry '1-3-3' for key 'uc_ItemnameTagid'

System information (as much as possible)

Ubuntu 18.04
Apache 2.4.29
MySQL 5.7.26
Joomla 3.9.8

Additional comments

Again, the errors occur in a very random way. You sometimes have to repeat the steps several times before one of these error appears.
N.B: In order to get the second error (Duplicate entry) the selected articles must have tags.

Votes

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

avatar Duddy67 Duddy67 - open - 20 Jun 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Jun 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 20 Jun 2019
avatar Duddy67 Duddy67 - change - 20 Jun 2019
The description was changed
avatar Duddy67 Duddy67 - edited - 20 Jun 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jun 2019

@bug Squad Team: Have one an Idea about the 2 given Error Messages?

avatar franz-wohlkoenig franz-wohlkoenig - edited - 21 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2019
Title
Errors occur when changing category in the batch window.
Errors occur when changing category in the batch window
Status New Information Required
avatar alikon
alikon - comment - 21 Jun 2019

i suspect a buggy #__asset table

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jun 2019

Thanks @alikon. @Duddy67 Please ask on Forum

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-06-21 06:40:20
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 21 Jun 2019
avatar richard67
richard67 - comment - 21 Jun 2019

@franz-wohlkoenig , I hope nobody here uses thie nick name "bug", otherwise he/she got an email ;-)

I've never seen those error messages before, but as Nicola said, it smells like asset table not ok.

avatar Duddy67 Duddy67 - change - 21 Jun 2019
The description was changed
avatar Duddy67 Duddy67 - edited - 21 Jun 2019
avatar Duddy67
Duddy67 - comment - 21 Jun 2019

So this problem is not considered as a bug ?
I ran these tests with a Joomla out of the box (no extra components, plugins...) so I guess the asset table is perfectly clean.
Moreover, regarding the Duplicate entry error, it seems to be related to the tag table and not necessarily to the asset table.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jun 2019

I ran these tests with a Joomla out of the box

thats a new Information > reopening.

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2019
Status Closed New
Closed_Date 2019-06-21 06:40:20
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - reopen - 21 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jun 2019
Status New Discussion
avatar richard67
richard67 - comment - 21 Jun 2019

@Duddy67 "Joomla out of the box ...." did you install any kind of sample data with the last step of the installation?

avatar richard67
richard67 - comment - 21 Jun 2019

@Duddy67 And what is your PHP version? That's missing in the system info in the description.

avatar HLeithner
HLeithner - comment - 21 Jun 2019

@alikon can be related to your PR #24730 ?

avatar alikon
alikon - comment - 21 Jun 2019

it could be, but

the errors occur in a very random way

so untill we have a how to reproduce way.... it's quite hard

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Jun 2019

@Duddy67 can you please describe exactly what happens if error occur next time so we can reproduce?

avatar Duddy67
Duddy67 - comment - 21 Jun 2019

@richard67
did you install any kind of sample data with the last step of the installation?
Nope, I created the articles by hand one by one.

And what is your PHP version?
My PHP version: 7.2.1

@franz-wohlkoenig
As I said it's a tricky one and you have to repeat the steps several times before one of these errors occurs. Sometimes by alternating the batch selection (ie: several articles then just one) it might trigger the error. But again it's very random. I attach 2 screenshots of these errors just in case.

2019-06-21-100839_1280x1024_scrot
2019-06-21-101143_1280x1024_scrot

avatar SharkyKZ
SharkyKZ - comment - 21 Jun 2019

@Duddy67 Please enable debug in System Configuration and try to reproduce the error in first screenshot. You should see a stack trace. Post it here.

avatar Duddy67
Duddy67 - comment - 21 Jun 2019

@SharkyKZ
Here: (it's in 2 parts, sorry for that)

2019-06-21-104327_1280x1024_scrot
2019-06-21-104331_1280x1024_scrot

avatar alikon
alikon - comment - 21 Jun 2019

i've tryied to replicate but ..... unable to get this error
i've copyied moved artciles between categories with tag without ..... but...unable to replicate

avatar Quy
Quy - comment - 14 Jan 2020

@Duddy67 Is this reproducible with the latest version of Joomla? If yes, please test PR #20943.

avatar Quy Quy - change - 15 Jan 2020
Labels Added: Information Required
avatar Quy Quy - labeled - 15 Jan 2020
avatar Quy Quy - change - 26 Jan 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-01-26 04:44:58
Closed_By Quy
avatar Quy
Quy - comment - 26 Jan 2020

Closing due to lack of response. Please test with the latest Joomla. If still an issue, please comment here.

avatar Quy Quy - close - 26 Jan 2020
avatar ausaec
ausaec - comment - 27 Apr 2021

I have this issue right now. I was moving categories around. Not sure how to fix but I’m about to hire a freelancer on Upwork because it’s crashed my whole site Alecomm.com
Any thoughts would be great.


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

Add a Comment

Login with GitHub to post a comment