This issue has been created
 
 
XWiki Commons / cid:jira-generated-image-avatar-4fdd5355-7c98-4ca5-92df-ef21771a002f XCOMMONS-3689 Open

Extension upgrade fail when one of the dependencyies is new but depends on a class introduce in an upgraded dependency

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-627efe8b-7f66-4356-85df-3aae71f352f6 Thomas Mortagne created this issue on 12/Jun/26 11:58
 
Summary: Extension upgrade fail when one of the dependencyies is new but depends on a class introduce in an upgraded dependency
Issue Type: cid:jira-generated-image-avatar-4fdd5355-7c98-4ca5-92df-ef21771a002f Bug
Affects Versions: 17.10.9
Assignee: Unassigned
Components: Extension
Created: 12/Jun/26 11:58
Priority: cid:jira-generated-image-static-major-7a82f430-0c77-48f7-a6e3-4ee38e140ff7 Major
Reporter: Thomas Mortagne
Description:

To reproduce, try to upgrade from OIDC Authenticator 2.20.3 to 2.21.0.

The JAR extension handler applies INSTALL right away but wait for a reload in case of UPGRADE. The problem is that it should also wait when the new modules dependends on an upgraded one. The OIDC Authenticator upgrade fail because the new OIDC Consent module has a component which depend on the OIDCException class, introduced in 2.21.0.