?
avatar Bakual
Bakual
25 Aug 2017

Steps to reproduce the issue

In the article manager, try to batch assign a tag to an article

Expected result

Tag is assigned

Actual result

An error has occurred.
Call to a member function setNewTags() on null

System information (as much as possible)

Call to a member function setNewTags() on null
D:\xampp\htdocs\joomla38\libraries\src\MVC\Model\AdminModel.php:635

Call stack

# Function Location
1 () JROOT\libraries\src\MVC\Model\AdminModel.php:635
2 Joomla\CMS\MVC\Model\AdminModel->batchTag() JROOT\libraries\src\MVC\Model\AdminModel.php:261
3 Joomla\CMS\MVC\Model\AdminModel->batch() JROOT\libraries\src\MVC\Controller\FormController.php:268
4 Joomla\CMS\MVC\Controller\FormController->batch() JROOT\administrator\components\com_content\controllers\article.php:135
5 ContentControllerArticle->batch() JROOT\libraries\src\MVC\Controller\BaseController.php:710
6 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT\administrator\components\com_content\content.php:21
7 require_once() JROOT\libraries\src\Component\ComponentHelper.php:392
8 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT\libraries\src\Component\ComponentHelper.php:367
9 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT\libraries\src\Application\AdministratorApplication.php:101
10 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT\libraries\src\Application\AdministratorApplication.php:159
11 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT\libraries\src\Application\CMSApplication.php:267
12 Joomla\CMS\Application\CMSApplication->execute() JROOT\administrator\index.php:51

Additional comments

The same works in J3.7.5, so it looks like a regression in 3.8.0.

avatar Bakual Bakual - open - 25 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Aug 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Aug 2017
Category com_content
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Aug 2017
Status New Confirmed
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Aug 2017

Issue confirmed.


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Aug 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-08-27 08:04:58
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 27 Aug 2017
Closed_Date 2017-08-27 08:04:58 2017-08-27 08:04:59
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 27 Aug 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 27 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 27 Aug 2017

closed as having Pull Request #17730


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

avatar barraclm
barraclm - comment - 24 Oct 2017

Why is this closed? The problem still exists.

avatar ggppdk
ggppdk - comment - 24 Oct 2017

@barraclm

did you test with latest staging ?
This PR has been merged
#18328
(Fix tags being deleted by any batch action and by drap and drop reordering of records)

Add a Comment

Login with GitHub to post a comment