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

Export fails as it requires LESS variables for plugins that aren't in the project #2510

Closed
simondate opened this issue Mar 25, 2020 · 0 comments
Labels

Comments

@simondate
Copy link
Member

simondate commented Mar 25, 2020

Expected Behaviour

When you export a course it shouldn't fail because it can't find a LESS variable not used in the project.

Actual Behaviour

An exported course looks through all plugins installed in the Authoring Tool. This means that the export fails if it can not find the LESS variables required for these plugins which may not have been created in the theme.

Preview and Publish aren't affected by this (they must only look at the installed plugins as intended)

Steps to Reproduce

  1. Add a course using certain plugins with a theme that supports these plugins.
  2. Add a second course that doesn't use the above plugins, with a separate theme that doesn't have the LESS variables required for these plugins.
  3. Attempt to export the second course.

Versions

  • Authoring Tool Version: 0.10.3
  • Framework Version: 5.2.0
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

2 participants