Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix MySQL error 1054: Unknown column 'calls.date_due' #6357

Closed
wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Sep 25, 2018

Description

Address #6356.

Motivation and Context

Fixed account detail view if calls are associated with it. Based on commit 1bafa56 by @Dillon-Brown

How To Test This

Apply and go to affected account detail view.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@ghost
Copy link
Author

ghost commented Oct 19, 2018

I just find that same problem exists with certain contats:

Fri Oct 19 11:24:00 2018 [4984][1][FATAL] Exception handling in /var/www/crm.fortecait.pl/include/MVC/Controller/SugarController.php:400
Fri Oct 19 11:24:00 2018 [4984][1][FATAL] Exception in Controller: Awaria bazy danych. Szczegóły zapisano w logu SuiteCRM.
Fri Oct 19 11:24:00 2018 [4984][1][FATAL] backtrace:
#0 /var/www/crm.fortecait.pl/include/database/DBManager.php(353): sugar_die('Awaria bazy dan...')
#1 /var/www/crm.fortecait.pl/include/database/DBManager.php(328): DBManager->registerError('Error retrievin...', 'Error retrievin...', true)
#2 /var/www/crm.fortecait.pl/include/database/MysqliManager.php(179): DBManager->checkError('Error retrievin...', true)
#3 /var/www/crm.fortecait.pl/include/database/MysqlManager.php(285): MysqliManager->query('(SELECT tasks.i...', true, 'Error retrievin...')
#4 /var/www/crm.fortecait.pl/data/SugarBean.php(1284): MysqlManager->limitQuery('(SELECT tasks.i...', 0, 10, true, 'Error retrievin...')
#5 /var/www/crm.fortecait.pl/data/SugarBean.php(1016): SugarBean->process_union_list_query(Object(Contact), '(SELECT tasks.i...', 0, 10, 10, '', Object(aSubPanel), '( SELECT count(...', Array)
#6 /var/www/crm.fortecait.pl/include/ListView/ListView.php(1132): SugarBean::get_union_related_list(Object(Contact), 'date_entered de...', 'desc', '', '', -1, 10, '', Object(aSubPanel))
#7 /var/www/crm.fortecait.pl/include/ListView/ListViewSubPanel.php(142): ListView->processUnionBeans(Object(Contact), Object(aSubPanel), 'history_CELL')
#8 /var/www/crm.fortecait.pl/include/SubPanel/SubPanel.php(220): ListViewSubPanel->process_dynamic_listview('Contacts', Object(Contact), Object(aSubPanel))
#9 /var/www/crm.fortecait.pl/include/SubPanel/SubPanelTiles.php(357): SubPanel->ProcessSubPanelListView('include/SubPane...', Array)
#10 /var/www/crm.fortecait.pl/include/MVC/View/SugarView.php(1167): SubPanelTiles->display()
#11 /var/www/crm.fortecait.pl/include/MVC/View/SugarView.php(239): SugarView->_displaySubPanels()
#12 /var/www/crm.fortecait.pl/include/MVC/Controller/SugarController.php(435): SugarView->process()
#13 /var/www/crm.fortecait.pl/include/MVC/Controller/SugarController.php(375): SugarController->processView()
#14 /var/www/crm.fortecait.pl/include/MVC/SugarApplication.php(113): SugarController->execute()
#15 /var/www/crm.fortecait.pl/index.php(52): SugarApplication->execute()
#16 {main}
Fri Oct 19 11:24:18 2018 [4737][1][FATAL] log call at: modules/Administration/index.tpl:53 - MY_FRAME is not set

@samus-aran
Copy link
Contributor

Hey @LEAP-nishit I'm pretty sure this has been all resolved so I will close this. But please feel free to re-open the issue/PR however the Travis is failing so that needs to be resolved before merging. Let u sknow if you need help to achieve that.

@samus-aran samus-aran closed this Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants