Hi, MountedMapper should return higher compatibilityScore for "page/foo" than PageInstanceMapper for the same path. Even more strict: PageInstanceMapper should not deal with anything that has more segments than "page".
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Oct 16, 2017 at 6:35 PM, Andrea Del Bene <an.delb...@gmail.com> wrote: > Hi, > > this issue is caused by a problem with mounted entities (pages, resources, > packages). If the path we use starts with segments from IMapperContext the > corresponding mapper is not resolved. For example a page mounted to > 'page/foo' is handled with a PageInstanceMapper and not with its > MountedMapper. > What should we do? Should we check the path when we mount it and rise an > exception if it is not compatible with IMapperContext? > > Andrea. >