?
avatar phalouvas
phalouvas
14 Nov 2018

Steps to reproduce the issue

  1. Create new banner
  2. Put a title
  3. Choose a client.
  4. Save.

Be aware that the problem only occurs on new banner, and if you choose a client.

Expected result

To save a new banner on the selected client.

Actual result

An error has occurred.
0 Call to a member function load() on boolean

System information (as much as possible)

Joomla v4alpha5

Additional comments

The problem is on file /administrator/components/com_banners/Table/BannerTable
line 204. Change from:

$client = Table::getInstance('Client', NAMESPACE . '\', array('dbo' => $db));
to
$client = new ClientTable($db);
I will also try to submit PR that fixes this issue.

avatar phalouvas phalouvas - open - 14 Nov 2018
avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Nov 2018
avatar richard67
richard67 - comment - 14 Nov 2018

This issue can be closed because it’s solved with commit 329fd3b

avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2018
Status Fixed in Code Base Closed
Closed_Date 2018-11-14 15:05:59 2018-11-14 15:06:00
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 14 Nov 2018
avatar Quy Quy - change - 14 Nov 2018
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-11-14 15:05:59
Closed_By Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 14 Nov 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23072

Add a Comment

Login with GitHub to post a comment