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

BUGFIX Load all tours on start already #20

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

Conversation

pixelbrackets
Copy link

If the current tour is undefinied, then dont load it.

If the current tour is defined and not loaded yet, then load it.

refs #18

Tour may not start and throw an error instead:
    "startTour: SomeTourName tour not found"

This is because the tour is not loaded/initialized yet.

with this fix all available tours are always loaded.

* Pro: Tours working again.
* Con: Very negative perfomance impact (one request &
  data handling for each tour)
  → his fix should be  replaced again soon
@pixelbrackets pixelbrackets changed the title [BUGFIX] Load all tours on start already BUGFIX Load all tours on start already Feb 26, 2018
@pixelbrackets
Copy link
Author

Please note: As said in the commit note, this may not be the final solution for the issue. It helped solve the problem #18 in my case, but fires requests for all available tour upon starting the backend. This is a perfomance issue and therefor should be replaced with a better solution sometime.

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