- Customer has upgraded to Sites 9.6 (RWS hosted) and DXA 2.2 (.NET), from Web 8.5 and DXA 2.0 and using the Model service. - In the previous implementation, developer had an option to control the trailing slash (/) when stripping index at the end of resolved links for the component link resolver in the model service. This was done by applying the following flags in the dxa.properties file dxa.web.link-resolver.keep-trailing-slash=${DXA_WEB_LINK_RESOLVER_KEEP_TRAILING_SLASH:true}- For Sites 9.6, the DXA model extension is used and deployed via the addon service. - Developer has modified the dxa.properties file in udp-content-dxa-extension.jar in the add-on DXA model extension package and updated the flag value of DXA_WEB_LINK_RESOLVER_KEEP_TRAILING_SLASH to true, and uploaded again through the add-ons UI. After restarting the Content service, the issue persists and a trailing slash was not appended. - Issue also persists when creating a custom applications.properties file with the param, and added as an addon with all possible reference extensions discussed in documentation links. https://docs.rws.com/986894/741586/tridion-sites-9-6-main-documentation/mergeable-configuration-extension https://docs.rws.com/986894/550328/tridion-sites-9-6-main-documentation/application-data-configuration-extension https://docs.rws.com/986894/550328/tridion-sites-9-6-main-documentation/application-data-configuration-extension |
Issue resolved after setting the DXA_WEB_LINK_RESOLVER_KEEP_TRAILING_SLASH param value to true of the Content service config, and restarting service. Also see KB article After upgrading to Tridion Sites 9.6, .html file extension is not being appended to the end of resolved links in DXA application |