? ? ? Failure

User tests: Successful: Unsuccessful:

avatar phalouvas
phalouvas
14 Nov 2018

Pull Request for Issue #23072

Summary of Changes

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);

patch.txt

Testing Instructions

Create new banner
Put a title
Choose a client.
Save.

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

Documentation Changes Required

avatar phalouvas phalouvas - open - 14 Nov 2018
avatar phalouvas phalouvas - change - 14 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2018
Category Unit Tests Repository Administration com_admin
avatar richard67
richard67 - comment - 14 Nov 2018

Obviously you made this PR against the wrong branch: It should be 4.0-dev, but you made it for staging (which is 3.9)

avatar phalouvas
phalouvas - comment - 14 Nov 2018
      Obviously you made this PR against the wrong branch: It should be 4.0-dev, but you made it for staging (which is 3.9)

Ooops. Can I change it, or need to create new?

avatar SharkyKZ
SharkyKZ - comment - 14 Nov 2018

You can change it. Click Edit button to the right of the title.

avatar ggppdk
ggppdk - comment - 14 Nov 2018

Ooops. Can I change it, or need to create new?

When you click edit button it will allow you edit the title of this PR but also you can change the branch

https://help.github.com/articles/changing-the-base-branch-of-a-pull-request/

avatar phalouvas
phalouvas - comment - 14 Nov 2018

Thanks. I just did.

avatar SharkyKZ
SharkyKZ - comment - 14 Nov 2018

Change it to 4.0-dev, not l10n_4.0-dev.

avatar phalouvas
phalouvas - comment - 14 Nov 2018

There is no option for 4.0-dev

avatar laoneo
laoneo - comment - 14 Nov 2018

I guess you somehow screwed up this pr. Probably the best option would be to create a new one.

avatar wilsonge wilsonge - change - 14 Nov 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-11-14 11:44:46
Closed_By wilsonge
Labels Added: ? ?
avatar wilsonge wilsonge - close - 14 Nov 2018
avatar joomla-cms-bot joomla-cms-bot - change - 14 Nov 2018
Category Unit Tests Repository Administration com_admin Unit Tests Repository Administration com_admin SQL Postgresql
avatar wilsonge
wilsonge - comment - 14 Nov 2018

You're trying to merge 4.0 from the CMS into another repo. I assume you meant to do a PR from your own fork

avatar wilsonge
wilsonge - comment - 14 Nov 2018

I've manually changed this with 329fd3b

avatar wilsonge wilsonge - change - 14 Nov 2018
Labels Added: ?
avatar wilsonge wilsonge - change - 14 Nov 2018
Status Closed New
Closed_Date 2018-11-14 11:44:46
Closed_By wilsonge
avatar wilsonge wilsonge - change - 14 Nov 2018
Status New Pending
avatar wilsonge wilsonge - reopen - 14 Nov 2018
avatar wilsonge wilsonge - change - 14 Nov 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-11-14 11:48:28
Closed_By wilsonge
avatar wilsonge wilsonge - close - 14 Nov 2018

Add a Comment

Login with GitHub to post a comment