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

Fix ignoring other library owner in license view #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

otacke
Copy link
Contributor

@otacke otacke commented Apr 7, 2022

Bug was reported at https://h5p.org/node/1259230

When showing a content type's license information, the license template is fetched, cached, and the placeholders for the owner and the year are overwritten immediately. When later on information for a different content type with the same license but a different owner is retrieved, still the old license text with the replaced placeholders is shown.

When merged in, the bug will be fixed by caching the license template but leaving the placeholders, so they can be replaced with the actual information when the license information is requested.

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

Successfully merging this pull request may close these issues.

1 participant