Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Error when changing DATE in Client list view

Error when changing DATE in Client list view 1 week 1 day ago #79121

  • medipharma
  • medipharma's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Thank you received: 2
  • Karma: 0
Hey guys! My first post here ;-)

Here is my problem. Hopefully there are other people with this so we can deal with it ;-)

I created a bunch of new fields for Client in Studio and removed pretty much everything except name and phone and email. And assigned the new fields. Most of them are dates. It all works great except when I am trying to edit the dates. When I try to change it by double click in list view for example it says:
Fatal error:  Uncaught Error: Call to a member function format() on boolean in C:\xampp\htdocs\crm\include\InlineEditing\InlineEditing.php:444
Stack trace:
#0 C:\xampp\htdocs\crm\include\InlineEditing\InlineEditing.php(396): formatDisplayValue(Object(Account), '05/21/2019 00:0...', Array, 'save')
#1 C:\xampp\htdocs\crm\include\InlineEditing\InlineEditing.php(376): getDisplayValue(Object(Account), 'odeslani_1_sarz...')
#2 C:\xampp\htdocs\crm\modules\Home\controller.php(60): saveField('odeslani_1_sarz...', 'a004d07a-8110-b...', 'Accounts', '05/21/2019', 'DetailView')
#3 C:\xampp\htdocs\crm\include\MVC\Controller\SugarController.php(525): HomeController->action_saveHTMLField()
#4 C:\xampp\htdocs\crm\include\MVC\Controller\SugarController.php(494): SugarController->do_action()
#5 C:\xampp\htdocs\crm\include\MVC\Controller\SugarController.php(468): SugarController->handle_action()
#6 C:\xampp\htdocs\crm\include\MVC\Controller\SugarController.php(373): SugarController->process()
#7 C:\xampp\htdocs\crm\include\MVC\SugarApplicatio in C:\xampp\htdocs\crm\include\InlineEditing\InlineEditing.php on line 444

But the date is actually being changed! It just yells like that...and then you find out it changed itself...

My system is - self hosted on Windows Server 2016 using XAMPP. SuiteCRM is the latest version I think, and xampp stuff is Apache 2.4.38, MariaDB 10.1.38, PHP 7.2.15, phpMyAdmin 4.8.5...

Any idea what to do here?
The administrator has disabled public write access.

Error when changing DATE in Client list view 6 days 21 hours ago #79132

  • medipharma
  • medipharma's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Thank you received: 2
  • Karma: 0
Tried to change the date format but its a no go so far...
The administrator has disabled public write access.

Error when changing DATE in Client list view 5 days 22 hours ago #79155

  • Dillon-Brown
  • Dillon-Brown's Avatar
  • Offline
  • Administrator
  • Posts: 193
  • Thank you received: 64
  • Karma: 13
Fix on GitHub here: #7072.
Last Edit: 5 days 22 hours ago by Dillon-Brown.
The administrator has disabled public write access.
Time to create page: 0.115 seconds
Powered by Kunena Forum