-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug with 2 templates, same ID, different paths
The way template configs were being tracked meant that if 2 templates had the same content but different config otherwise, they would only use the last config. Having more than 1 template with the same content is rare but a user ran into it with 2 templates and the same path. This eliminates the separate tracking of template configs and bundles them with the templates themselves. Having a 1-1 template/config and eliminating the separate data structure makes this area of code simpler to understand and work with while fixing this issue. This also fixes the TemplateConfigMapping() call which should have kept backwards compatibility with the signature.
- Loading branch information
Showing
3 changed files
with
55 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters