State operations backend not working in Joomla 3.9.

State operations backend not working in Joomla 3.9.

1 year 11 months ago #1910 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.

1 year 11 months ago #1913 by Glenn Arkell

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.

1 year 11 months ago #1914 by Olaf van der Grijspaarde

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.

1 year 11 months ago #1916 by Grant Broadcasters

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.186 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.