Skip to content

2.7.5

Latest

Choose a tag to compare

@andrewdrake andrewdrake released this 05 Dec 12:30

A bug-fix release. Read the 2.7.5 upgrade notes: two activity views changed, and activity timestamps now display in the CRM timezone and date format.

Changed

  • Version bumped to 2.7.5. This is a patch release. It adds no migrations, config keys, assets or dependency changes

Fixed

  • Saving a task as Unallocated failed (#158). The owner and assignee selects send "Unallocated" as the ID 0. That value was saved as-is, and the users foreign key rejected it. Support\UserOption now turns 0 (or an empty value) into null on every task save path (TaskService, TaskEdit, TaskItem, TaskRelated). Any other ID must exist in users, so an unknown ID fails validation and does not hit the foreign key. Covered by tests/Feature/Livewire/TaskUnallocatedTest.php
  • Activity timestamps ignored the CRM timezone and date format (#159). The activity feed and the related-record activity timeline printed created_at in the app timezone, with the format hard-coded to m/d/Y h:i A. They now use the new CrmTimezone::formatDateTime(). It converts to the CRM timezone and applies the date_format/time_format settings. Covered by tests/Feature/Livewire/ActivityTimestampFormatTest.php