]
George Gastaldi updated FURNACE-63:
-----------------------------------
Fix Version/s: 2.x Future
PostStartup bug, or should be documented better
-----------------------------------------------
Key: FURNACE-63
URL:
https://issues.jboss.org/browse/FURNACE-63
Project: Forge: Furnace
Issue Type: Bug
Components: Runtime
Affects Versions: 2.20.1.Final
Reporter: Ondrej Zizka
Assignee: George Gastaldi
Fix For: 2.x Future
STR:
Check out the 1a89b1c commit from
https://github.com/OndraZizka/windup/commit/1a89b1cac3f76e519571fd08c0cf3...
And run the WindupUpdateRulesetTest.
That will fail in RulesetUpdateChecker, because the PostStartup is fired for all (?)
addons, even those which do not depend on windup-exec, and therefore the @Inject fails
with "IllegalStateException: Addon service [...RulesetUpdater] is not
registered".
I am not quite sure if that's how it should behave. Shouldn't it be called for
the "current addon" as stated in the javadoc of PostStartup?
Or if not, then please specify better when this is called and what is the state of the
addons.