Open alecksmart opened 12 years ago
Imagine
$this->recipient = \Core\RecipientQuery::create()->findOneByName('xxx'); $this->source = \Core\SourceQuery::create()->findOneByName('yyy');
This works OK:
$count = \Core\ContentRegistryEntryQuery::create() ->filterBySource($this->source) ->filterByRecipient($this->recipient) ->filterByToken('zzz') ->count();
This does not:
$count = \Core\ContentRegistryEntryQuery::create()->findByArray( array( 'Source' => $this->source, 'Recipient' => $this->recipient, 'Token' => 'zzz', ) )->count();
Error message:
filterBySource() only accepts arguments of type Source or PropelCollection
Was this ever solved?
the issue is still open, so I suppose not. maybe a unit test could prove it.
Imagine
This works OK:
This does not:
Error message: