[BLOSSOM-293] TemplateExporter same template exported twice Created: 31/Mar/22  Updated: 01/Apr/22

Status: Open
Project: Blossom
Component/s: None
Affects Version/s: 3.5.0
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Björn Eschle Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

The TemplateExporter is calling postProcessHandler twice for same Template, which pushes the HandlerMetaData twice to the templates list of DetectedHandlersMetaData.

So far I haven't noticed any issues with this, but it wasn't the case for earlier blossom versions.

This is caused by using a configuration which extends WebMvcConfigurationSupport:

class BlossomServletConfiguration extends WebMvcConfigurationSupport

Generated at Sun Feb 11 23:32:03 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.