[MDSAL-663] Wrong included submodule resource name Created: 20/May/21  Updated: 20/May/21  Resolved: 20/May/21

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: 7.0.0, 7.0.7
Fix Version/s: 8.0.0, 7.0.8

Type: Bug Priority: High
Reporter: Ivan Hrasko Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: pt, regression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When we include a submodule (which is in another file) into module
then generated ResourceYangModuleInfo#resourceName returns instead of
the submodule's resource file name the resource file name of the module
in which the submodule is included.

This can lead to SchemaResolutionException beacause of unsatified
imports during assembling of EffectiveModelContext and thus
to application failure during start.

The behavior has changed (the bug is present) in Silicon (7.0.x branch),
please see attached Gerrit reviews.



 Comments   
Comment by Robert Varga [ 20/May/21 ]

This was broken in the initial Silicon integration, previous versions are not affected.

 

Generated at Wed Feb 07 20:10:27 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.