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

State operations backend not working in Joomla 3.9.

6 years 3 weeks 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

Please Log in or Create an account to join the conversation.

6 years 2 weeks 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.

6 years 2 weeks 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!

Please Log in or Create an account to join the conversation.

6 years 2 weeks 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.050 seconds
Powered by Kunena Forum

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.