×
Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues
State operations backend not working in Joomla 3.9.
Olaf van der Grijspaarde
New Member
Posts: 4
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
Looks like a serious issue to me, urgent solutions is needed....
Regards,
Olaf
Please 登录 或 注册一个帐号 to join the conversation.
Glenn Arkell
New Member
Posts: 7
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.
Olaf van der Grijspaarde
New Member
Posts: 4
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!
Hopefully this will be changed in Component Creator build as well!
Please 登录 或 注册一个帐号 to join the conversation.
Grant Broadcasters
New Member
Posts: 7
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.051秒