Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when used in conjunction with Association Fields #13

Open
jdsimcoe opened this issue Sep 16, 2014 · 3 comments
Open

Error when used in conjunction with Association Fields #13

jdsimcoe opened this issue Sep 16, 2014 · 3 comments
Labels

Comments

@jdsimcoe
Copy link

First off, reference this thread where @nilshoerrmann and I hashed this out a bit:

mazedigital/association_output#7

Second, I am currently getting this error:

Fatal error: Call to a member function getIterator() on a non-object in /Users/jdsimcoe/Sites/atheycreek/extensions/association_output/extension.driver.php on line 421
Call Stack
#   Time    Memory  Function    Location
1   0.0001  239480  {main}( )   ../index.php:0
2   0.0296  3979632 symphony( ) ../index.php:14
3   0.0296  3979712 symphony_launcher( )    ../func.utilities.php:207
4   0.0413  4374576 Frontend->display( )    ../func.utilities.php:231
5   0.0424  4380600 FrontendPage->generate( )   ../class.frontend.php:110
6   0.0430  4432656 FrontendPage->__buildPage( )    ../class.frontendpage.php:195
7   0.0509  5090056 FrontendPage->processDatasources( ) ../class.frontendpage.php:464
8   0.0742  7686224 ExtensionManager::notifyMembers( )  ../class.frontendpage.php:921
9   0.0743  7687624 extension_association_output->appendAssociatedEntries( )    ../class.extensionmanager.php:710
10  0.0761  7699360 extension_association_output->findAssociatedEntries( )  ../extension.driver.php:324
@nilshoerrmann
Copy link
Contributor

The problem is that this extension retrieves and sets XML on the DataSourcePreExecute delegate. This results in the problem that other extensions cannot manipulate the cached data.

@jdsimcoe
Copy link
Author

@brendo Do you know if this has been resolved?

@jonmifsud
Copy link

@nilshoerrmann if I understand it would work if this returned an object rather than an XML string correct?

Also this brings me to an interesting point, this means that any data generated with association output wouldn't be cached (in this instance) correct?

@nitriques nitriques added the bug label Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants