Created
March 4, 2016 12:54
-
-
Save damianoporta/ffe95a25cac2917d9f20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a (multiple allowed): | |
* [x] bug | |
* [ ] enhancement | |
* [ ] feature-discussion (RFC) | |
* CakePHP Version: 3.2.3 | |
* Platform and Target: nginx 1.8, php 5.6.11 | |
### What you did | |
I have a table AgentsTable.php with this association: | |
``` | |
$this->hasMany('ProfessionsTags', [ | |
'className' => 'TagsAssociations', | |
'through' => 'Tags', | |
'foreignKey' => 'foreign_key', | |
'conditions' => [ | |
'ProfessionsTags.model' => 'Agents', | |
'Tags.scope' => 1 | |
], | |
'propertyName' => 'professions' | |
]); | |
``` | |
TagsTable.php | |
### Expected Behavior | |
EXPLAIN WHAT IS TO BE EXPECTED, HERE. | |
### Actual Behavior | |
EXPLAIN WHAT IS ACTUALLY HAPPENING, HERE. | |
P.S. Remember, an issue is not the place to ask questions. You can use [Stack Overflow](http://stackoverflow.com/questions/tagged/cakephp) | |
for that or join the #cakephp channel on irc.freenode.net, where we will be more | |
than happy to help answer your questions. | |
Before you open an issue, please check if a similar issue already exists or has been closed before. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment