Developer forum

Forum » Swift » Exception on template FavoriteDetail.cshtml

Exception on template FavoriteDetail.cshtml

Pedro Meias
Pedro Meias
Reply

Hello,

Tested this on https://dev-swiftrizzo.mydwsite1.com/

DW version 9.15.9

Swift version 1.22.0

Video showing the issue.

https://www.screencast.com/t/uelLeJ9lFzUE

Solution we applied.

Line 75 - changed 

UserId: "@(Converter.ToString(Pageview.User?.ID))",
 
to
 
UserId: "@(Dynamicweb.Core.Converter.ToString(Pageview.User?.ID))",
 

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Pedro

Then you did not apply Swift 1.22 correctly - it already contains that change (it was merged on April 22nd) since 1.21

https://github.com/dynamicweb/Swift/blob/main/Swift/Files/Templates/Designs/Swift/eCom/CustomerExperienceCenter/Favorites/FavoriteDetail.cshtml#L72

BR Nicolai

 

You must be logged in to post in the forum