Permalink
Browse files

[MGN-6383] - ProjectBuilder unnecessarily rebuilds modules with ci-fr…

…iendly versions

 o Thanks to Christoph Kunze for offering the fix.
  • Loading branch information...
khmarbaise committed Apr 22, 2018
1 parent e56fe97 commit 396f49d75e42900efab87e94c12d0ae1fe9ee622
@@ -388,6 +388,14 @@ else if ( !parentIds.add( parentData.getId() ) )
resultModel = interpolateModel( resultModel, request, problems );
resultData.setModel( resultModel );
if ( resultModel.getParent() != null )
{
final ModelData parentData = lineage.get( 1 );
final Model interpolatedParent = interpolateModel( parentData.getModel(), request, problems );
// parentData.setModel( interpolatedParent );
parentData.setVersion( interpolatedParent.getVersion() );
}
// url normalization
modelUrlNormalizer.normalize( resultModel, request );

0 comments on commit 396f49d

Please sign in to comment.