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.
9 anos atrás
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
9 anos atrás
Thanks a lot for reporting. Fixed. Please see commit a5d0fb325359. Or you can simply download this archive and extract it to \Views\Profile\ directory
9 anos atrás
hello a.m,

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


regards,
Jatin
9 anos atrás
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).
9 anos atrás
Thank You A.m
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.