?
avatar N6REJ
N6REJ
24 Sep 2019

Steps to reproduce the issue

create article in uncategorized category.
trash uncategorized category.

Expected result

category is NOT trashed.

Actual result

image

System information (as much as possible)

systeminfo-2019-09-24T17_59_49+00_00.txt

Additional comments

avatar N6REJ N6REJ - open - 24 Sep 2019
avatar joomla-cms-bot joomla-cms-bot - change - 24 Sep 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Sep 2019
avatar richard67
richard67 - comment - 24 Sep 2019

Well I think it is desired that the "Uncategorized" category can't be trashed, someone please correct me if I'm wrong.

But of course one would expect a meaningful error message for this case.

avatar richard67
richard67 - comment - 24 Sep 2019

Hmm, on 3 it works, trashing that category when it contains one article, so I was wrong with my comment above, it seems.

avatar richard67
richard67 - comment - 24 Sep 2019

But here on my current 4.0-dev I get an error different to the screenshot in the description above:

Argument 2 passed to Joomla\Component\Finder\Administrator\Indexer\Result::addNestedTaxonomy() must implement interface Joomla\CMS\Tree\ImmutableNodeInterface, null given, called in /home/richard/lamp/public_html/joomla-cms-4.0-dev/plugins/finder/content/content.php on line 322

avatar Quy
Quy - comment - 26 Sep 2019

@richard67 Your issue is fixed in PR #26235

avatar N6REJ
N6REJ - comment - 26 Sep 2019

@richard67 I probably worded the title badly.. maybe @franz-wohlkoenig can think of better title.

avatar infograf768
infograf768 - comment - 11 Oct 2019

After unpublishing the smartsearch plugins (so that I do not I have the same error as @richard67 , solved by #26235 ), I do not have the same result as @N6REJ .

The category is trashed without error.

The expected result is that the category IS trashed, contrary to the description of the issue.

It is only when the category contains an item, has been trashed and when using Empty Trash that we would have an error/alert stating that the category can't be deleted because it contains an item.

Closing this as it looks like related to a bad/corrupted installation.

avatar infograf768 infograf768 - change - 11 Oct 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-10-11 09:20:15
Closed_By infograf768
avatar infograf768 infograf768 - close - 11 Oct 2019
avatar infograf768
infograf768 - comment - 11 Oct 2019

I reopen.
After correcting with #26235 and enabling the smartsearch plugins, I get the error stated by @N6REJ

Note: Tested with blog and multilingual sample data on.

avatar infograf768 infograf768 - change - 11 Oct 2019
Status Closed New
Closed_Date 2019-10-11 09:20:15
Closed_By infograf768
avatar infograf768 infograf768 - reopen - 11 Oct 2019
avatar infograf768
infograf768 - comment - 11 Oct 2019

Tested without sample data and using #26235
Same issue:
The category is trashed but I get the Out of range value for column 'state' at row 1 error.

Disabling the smartsearch plugins solves the error

avatar infograf768
infograf768 - comment - 11 Oct 2019

@SharkyKZ
Please look at this.

avatar SharkyKZ
SharkyKZ - comment - 12 Oct 2019

Test PR #26235 please.

avatar SharkyKZ SharkyKZ - change - 12 Oct 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-10-12 11:34:06
Closed_By SharkyKZ
avatar joomla-cms-bot joomla-cms-bot - change - 12 Oct 2019
Closed_By SharkyKZ joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 12 Oct 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 12 Oct 2019

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/26404

avatar infograf768
infograf768 - comment - 13 Oct 2019

Test PR #26235 please.

?

Add a Comment

Login with GitHub to post a comment