× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

State operations backend not working in Joomla 3.9.

5 年 11 个月 前 #1910 Olaf van der Grijspaarde
State operations backend not working in Joomla 3.9. was created by Olaf van der Grijspaarde
Since update to Joomla 3.9.1 all state operations in the backend (publish/unpublish/archive/trash) seem to have stopped working.

Looks like a serious issue to me, urgent solutions is needed....

Regards,
Olaf

Please 登录注册一个帐号 to join the conversation.

5 年 11 个月 前 #1913 Glenn Arkell
Replied by Glenn Arkell on topic State operations backend not working in Joomla 3.9.
Discovered that making a slight change to the Table file of the component makes the buttons work. May not be the best or ultimate change but works for those that can't revert back to 3.8.n.
public function __construct(&$db)
	{
			parent::__construct('#__mycomponent_tablename', 'id', $db);

		// Set the alias since the column is called state
		$this->setColumnAlias('published', 'state');
	}
The following user(s) said Thank You: Márton Feövenyessy, Geir, DarkGreg, Jordi Solves

Please 登录注册一个帐号 to join the conversation.

5 年 11 个月 前 #1914 Olaf van der Grijspaarde
Replied by Olaf van der Grijspaarde on topic State operations backend not working in Joomla 3.9.
Excellent, this solves the most serious problems for now.

Hopefully this will be changed in Component Creator build as well!

Please 登录注册一个帐号 to join the conversation.

5 年 11 个月 前 #1916 Grant Broadcasters
Replied by Grant Broadcasters on topic State operations backend not working in Joomla 3.9.
This needs to be added to all table files as it is required to make any component work in 3.9.1+ due to a change in Joomla code handling the published/state field.

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.049秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.