×
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 years 11 months ago #1910
by 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 Log in or Create an account to join the conversation.
Glenn Arkell
New Member
Posts: 7
5 years 11 months ago #1913
by 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 Log in or Create an account to join the conversation.
Olaf van der Grijspaarde
New Member
Posts: 4
5 years 11 months ago #1914
by 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 Log in or Create an account to join the conversation.
Grant Broadcasters
New Member
Posts: 7
5 years 11 months ago #1916
by 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 Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds