Skip to content

BUGFIX Load all tours on start already#20

Open
pixelbrackets wants to merge 1 commit intotdeuling:masterfrom
webit-de:20180226_fix-non-starting-tours
Open

BUGFIX Load all tours on start already#20
pixelbrackets wants to merge 1 commit intotdeuling:masterfrom
webit-de:20180226_fix-non-starting-tours

Conversation

@pixelbrackets
Copy link
Copy Markdown

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
Copy Markdown
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