Open amb3rl4nn opened 8 years ago
added formatting for the code... sorry
So I have no idea why this would be the case... but if I use XDebug and pause execution on Sybase::_execute(...) Line 779... Then play forward for the entire request. Everything comes back correctly with all data and fields. No issues. However if I do not pause the system. The related Model EpiArticleField always comes back blank.
Goal is to be able to access SQL Server from a LAMP environment. The only issue is that when I do a Find on the EpiArticle, it does not pull the hasMany items from the same SQL Datasource. However the hasOne item does link up fine from the Mysql Datasource
Description of Relationships and the datasource
EpiArticles are stored in SQL Server EpiArticleField are stored in SQL Server EpiArticleMeta are stored in Mysql Server
EpiArticle hasMany EpiArticleField EpiArticle hasOne EpiArticleMeta
Code for these models/relationships
RESULTS OF THE QUERY