Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.4
-
Fix Version/s: 4.1.0
-
Component/s: CiviReport, Core CiviCRM, Usability
-
Labels:None
Description
1.) Bug in "Constituent Report" Dashlet that does not allow for pagination to jump to the specified page (e.g. dialing in page 3 of 8 in the box and clicking on "Go" has no effect on the content)
nyss issue: http://senatedev.senate.state.ny.us/issues/show/4254
========= Original post ==================================
Drupal 6.22 with CiviCRM 3.4.4. fresh install on 64 bit VPS and LAMP stack with Apache/2.2.14, MySQL Ver 5.1.41-3ubuntu12.10-log for debian-linux-gnu on x86_64 and PHP 5.2.10-2ubuntu6 with Suhosin-Patch 0.9.7 (cli)
1.) Bug in "Constituent Report" Dashlet that does not allow for pagination to jump to the specified page (e.g. dialing in page 3 of 8 in the box and clicking on "Go" has no effect on the content)
2.) Bug in Report pagination on full-screen mode when dialing in a specific page results in this error message:
warning: Invalid argument supplied for foreach() in /var/www/wmg/sites/all/modules/civicrm/CRM/Report/Form.php on line 1070.
The result is that directly dialed in pages are no longer part of the same "Constituent Report", but display the relationship report instead
3.) When viewing the Constituent Report from within the dashlet and trying to advance to the ">>Next" or ">>Last" page lead to an error message due to a incorrect cookie set by the system irrespective of the browser's cookie settings and irrespective of the correct configuration for the base URL.
ERROR MESSAGE:
Constituent Report (Summary)
Sorry. A non-recoverable error has occurred.
We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.
Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.
Error type: Could not find a valid session key.
Return to home page.
The session cookie set on the customized dashboard screen http://<domain>/civicrm/dashboard reads as follows:
Name SESSc2e935498d7cc8c8d1df1bd36b79503a
Value u803d2sumhi1vhkjb6g2uncb10
Host .subdomain.domain.org
Path /
Secure No
Expires Thu, 11 Aug 2011 05:25:36 GMT
Clearly the cookie should be set to "subdomain.domain.org" not ".subdomain.domain.org", which explains why the subsequent session cookie gets "lost"
This cookie error 3.) does not appear if the dashlet is viewed in full-screen overlay mode (Magnifying glass icon), but then error 2.) re-appears during pagination.
Attachments
Issue Links
- is supplemented by
-
CRM-9225 dashlet pagination inconsistency
- Done/Fixed