You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the problem is with caching by only field type here, while additional field attributes (derefAsPage) should also be taken into account.
You are right, I can see that would be an issue without attempting further. I have updated it so correct that, though please let me know if you still experience any issues with it. Thanks!
Short description of the issue
preload(['pagefield2'])
works as expected (ignoring pagefield2), butpreload(['pagefield1', 'pagefield2'])
breaks pagefield2 value.Expected behavior
preload(['pagefield1', 'pagefield2']
should only affect performance.Actual behavior
Ater
preload(['pagefield1', 'pagefield2']
,$page->pagefield2
only includes one value even when the field has multiple values.Optional: Suggestion for a possible fix
I believe the problem is with caching by only field type here, while additional field attributes (
derefAsPage
) should also be taken into account.Also, the experimental
useFieldtypeMulti
option fixes the problem.Steps to reproduce the issue
Run this script with
?bug
to trigger the problem: onlychild1
is printed.Setup/Environment
The text was updated successfully, but these errors were encountered: