Ticket #6105 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Related Lists Missing after 5.0.4 upgrade to 5.1 rc

Reported by: brett.hooker Assigned to: asha
Priority: major Milestone: 5.1.0
Component: vtigercrm Version: 5.1.0-rc
Keywords: Cc:

Description

Upgraded two customer environments (in test of course) to 5.1 from 5.0.4.

Both upgraded environments having the same problem.

Related lists are not being shown on any detail view page.

Accounts, Contacts, Leads, Potentials, Tickets tested. None of them show related lists. Have tried single pane view and non-single pane view. Related lists do not show on in either case.

Attachments

mig-504-510rc-a.zip (83.6 kB) - added by brett.hooker on 06/30/09 06:37:47.
504 to 510rc migration log file

Change History

06/30/09 06:37:47 changed by brett.hooker

  • attachment mig-504-510rc-a.zip added.

504 to 510rc migration log file

06/30/09 06:38:26 changed by brett.hooker

have checked log file (see attached) and there are no failures in regards to related lists

06/30/09 07:02:13 changed by brett.hooker

I have updated sequence numbers, per Nitin's post here: http://forums.vtiger.com/viewtopic.php?p=82114#82114

And still no related lists.

06/30/09 07:05:01 changed by brett.hooker

I've noticed that the Enable Singlpane View check box does not stay checked...

06/30/09 07:42:29 changed by brett.hooker

Found the problem!

crm_home/user_privileges/default_module_view.php was completely empty. file existed, but was zero bytes in length.

I copied this in from a working 5.1 install (a fresh install): <?php /*********************************************************************************

** The contents of this file are subject to the vtiger CRM Public License Version 1.0

  • ("License"); You may not use this file except in compliance with the License
  • The Original Code is: vtiger CRM Open Source
  • The Initial Developer of the Original Code is vtiger.
  • Portions created by vtiger are Copyright (C) vtiger.
  • All Rights Reserved.

* ********************************************************************************/

$singlepane_view = 'true';

?>

And now all the related lists are working...

I do not know why this file was empty...

06/30/09 08:14:26 changed by brett.hooker

  • status changed from new to closed.
  • resolution set to fixed.

07/06/09 09:18:03 changed by asha

  • status changed from closed to reopened.
  • version changed from 5.1.0-val2 to 5.1.0-rc.
  • resolution deleted.

07/06/09 09:22:45 changed by asha

Hi,

This issue is still reproducible when your source directory (5.0.4) and destination directory (new 5.1.0) are same and you are trying to migrate pointing to 5.0.4 database. This is because of the trailing / in the destination or source directory path.

Fix for the issue:

In migrate.php @line 276,

Change:

if ($sourceDirectory != $destinationDirectory) {

to:

if (realpath($sourceDirectory) != realpath($destinationDirectory)) {

07/08/09 05:56:01 changed by asha

  • status changed from reopened to new.
  • owner changed from developer to asha.

07/09/09 09:18:30 changed by asha

  • status changed from new to closed.
  • resolution set to fixed.

Changes are integrated with the changeset - [12927]