Results 1 to 2 of 2

Thread: SUGARCRM 4.5-RC - (Summation Report) Not Functional

  1. #1
    emillion is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    50

    Default SUGARCRM 4.5-RC - (Summation Report) Not Functional

    When creating a summation report, the following error message appears:

    > Create Summation Report
    > Select Primary Address Country as Group By
    > Select Output Fields
    > Run Report
    > Receive following error:

    SQL Error : IFNULL is not a recognized function

    When I modified the following code in modules\Reports\Reports.php, I got the error message which follows:

    $query .= " GROUP BY IFNULL($this->group_by,'') ";

    Changed to:

    // Recognized SQL Server Function
    $query .= " GROUP BY ISNULL($this->group_by,'') ";

    SQL Error : Column 'contacts.primary_address_country' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.

    Is there any timeline on when this might be fixed? Has anyone else experienced this?

    Thanks,

    - E

    OS: Windows XP Professional
    SugarCRM Version: 4.5-RC
    Webserver: IIS 5
    PHP Version: 4.4.1
    SQL: MSSQL 2005

  2. #2
    emillion is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Posts
    50

    Default Re: SUGARCRM 4.5-RC - (Summation Report) Not Functional

    This bug has been fixed, and released in the SUGARCRM 4.5.0 (1099) Build for the MSSQL installation.

    Check it out!

    - E

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •