?
avatar manojLondhe
manojLondhe
30 Nov 2018

Steps to reproduce the issue

Publish, unpublish, trash, archive, trash not working for tables having state as column, and if no alias is set as below in respective table.php,

public function __construct(&$db) 
{
	parent::__construct('#__my_table', 'id', $db);

	// Set the alias since the column is called state
	$this->setColumnAlias('published', 'state');
}

This used to work till Joomla 3.9, this PR seem to have caused this to break.

Expected result

Publish, unpublish, trash, archive, trash should work as it was on 3.8.x

Actual result

Publish, unpublish, trash, archive, trash not working as it was on 3.8.x

System information (as much as possible)

PHP Version 7.2.12-1+ubuntu16.04.1+deb.sury.org+1
Joomla! Version | Joomla! 3.9.1 Stable

avatar manojLondhe manojLondhe - open - 30 Nov 2018
avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Nov 2018
avatar manojLondhe manojLondhe - change - 30 Nov 2018
Title
[J3.9.0] Publish, unpublish, trash, archive, trash not working for tables having column as state instead of published
[J3.9.1] Publish, unpublish, trash, archive, trash not working for tables having column as state instead of published
avatar manojLondhe manojLondhe - edited - 30 Nov 2018
avatar manojLondhe manojLondhe - change - 30 Nov 2018
The description was changed
avatar manojLondhe manojLondhe - edited - 30 Nov 2018
avatar infograf768
infograf768 - comment - 30 Nov 2018

See #23200
Closing as known issue.

avatar manojLondhe manojLondhe - change - 30 Nov 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-11-30 06:35:56
Closed_By manojLondhe
avatar manojLondhe manojLondhe - close - 30 Nov 2018
avatar manojLondhe
manojLondhe - comment - 30 Nov 2018

Thanks @infograf768
Sorry for duplicate!

Add a Comment

Login with GitHub to post a comment