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

References to not open documents are not kept in memory after evaluation #112

Closed
fredrikhr opened this issue Mar 14, 2022 · 1 comment
Closed

Comments

@fredrikhr
Copy link
Contributor

If a region references a region in another file that is not currently open, a normal @ref reference is evaluated as if it were a @forceRef. Multiple repeated executions of the region trigger the @ref evaluation each time. However, if I open the file in which the referenced region is located, the first evaluation is stored in memory, and subsequent calls use the stored value instead of re-evaluating.

It should not matter whether a file is opened or not. A reference should only be evaluated on first call, subsequent calls should use the stored value.

@AnWeber
Copy link
Owner

AnWeber commented Mar 16, 2022

I have reverted the changes to the ImportMetaDataHandler from v5.2.0 and it also saves unopened files as before. With v5.2.1 it works again.

@AnWeber AnWeber closed this as completed Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants