Page view counter

strange bug when change currency to TRY

Last post 10-02-2007 4:00 PM by mohi88. 1 replies.

Sort Posts:

  • strange bug when change currency to TRY

    09-26-2007, 3:38 PM
    • Loading...
    • mohi88
    • Joined on 02-06-2004, 4:21 AM
    • jordan / Turkey
    • Posts 697
    • Points 3,574
    i diploid the dashcommerce. when the site currency is USD or let us say Euro there is nothing that site works great. but when i change the main currency to TRY (Turkish lira, which is the target currency of the site), the bug appear! .in the ProductController.cs when the sql statement is appended when the

    q.AddWhere("isApproved", 1); // statement related with reviews

    statement is passed the system throw an exception that it is referenced to null. when i debug the system every thing work fine for the other languages.i created another product and try it and had the same thing, and i added a review and approved it and still have the same exception.

    thank you for your help in advance

    Muhanad YOUNIS
    MCSD.NET
    My Blog || My Photos || LinkedIn

  • Re: strange bug when change currency to TRY

    10-02-2007, 4:00 PM
    Answer
    • Loading...
    • mohi88
    • Joined on 02-06-2004, 4:21 AM
    • jordan / Turkey
    • Posts 697
    • Points 3,574
    i found the solution it is in

    //Reviews section inside BusinessLogic>>ProductController.cs

    the orjenal one is

    q.AddWhere("isApproved", 1);

    you must change the isApproved to IsApproved (capital "I")

    and that will solve the mater

    Muhanad YOUNIS
    MCSD.NET
    My Blog || My Photos || LinkedIn

Page 1 of 1 (2 items)