ProfileInfoModel is missing ID but it is used in the Views\Profile\Info.cshtml

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 9 ans
Hi Andrei,

The ProfileInfoModel does not contain ID property but in the Views\Profile\Info.cshtml there are two lines that pass the Model.Id to the @Html.Widget method.
This throws an error in runtime.

http://nopcommerce.codeplex.com/SourceControl/latest#src/Presentation/Nop.Web/Views/Profile/Info.cshtml

http://nopcommerce.codeplex.com/SourceControl/latest#src/Presentation/Nop.Web/Models/Profile/ProfileInfoModel.cs

Thanks
Il y a 9 ans
Thanks a lot for reporting. Fixed. Please see commit a5d0fb325359. Or you can simply download this archive and extract it to \Views\Profile\ directory
Il y a 9 ans
hello a.m,

can you please tell me where this link is available in front side


regards,
Jatin
Il y a 9 ans
Jatin,

Not sure that I got you. What link? Do you mean how to reproduce this issue? Just enable "viewing of customer profiles" customer settings, then make any post (forum post, product review, news comment) and you can go to an author profile page (name clickable).
Il y a 9 ans
Thank You A.m
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.