0

What's the logic behind _mappingsRetriever.GetPublicationMapping(urlLeftPart) in CdApiLocalizationResolver? Our issue is some Pages which have been published appear 404 in front end. After we debug the code, we found they are mapping to wrong Publication

  • Are the mappings correct in Topology Manager? I assume this code is just checking what publication ID maps to the current URL being request. – Nuno Linhares Mar 24 at 9:05
  • I checked the mapping using powershell script. they are correct. those pages sometimes display fine. sometimes shows 404 error. – Ivy Chen Mar 24 at 9:56
  • What did you check using PowerShell, exactly? Did you use the CD Publication Mappings API directly (the same one as DXA is using)? – Rick Pannekoek Mar 25 at 18:42
  • I checked by using getTtmMapping command. Can you advise how to use CD Publication Mappings API? @RickPannekoek – Ivy Chen Mar 26 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.