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

after adding a property dev server needs to be restarted before the corresponding relation forms are shown #914

Closed
sennierer opened this issue Jun 6, 2024 · 1 comment · Fixed by #919 or #909

Comments

@sennierer
Copy link
Collaborator

to reproduce:

  • start a new sample_project with an empty sqllite db
  • create a place and a person entity
  • create a property that has the person as subject and the place as object
  • jump back to the person -> no form to relate a place is shown
  • restart the dev server -> load the person -> form to relate place is shown

Not sure this was always the case, but might have something to do with the removing of the custom cache

@b1rger
Copy link
Contributor

b1rger commented Jun 6, 2024

can you try with this line removed?

@functools.lru_cache

b1rger added a commit that referenced this issue Jun 6, 2024
The entities types a relation can point to can be changed at any time,
so they should not be cached.

Closes: #914
b1rger added a commit that referenced this issue Jun 6, 2024
The entities types a relation can point to can be changed at any time,
so they should not be cached.

Closes: #914
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants