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 10547 - Incorrect visualization of task due date on subpanels #10548

Open
wants to merge 1 commit into
base: hotfix
Choose a base branch
from

Conversation

SinergiaCRM
Copy link
Contributor

Description

Fixing #10547
When visualizing more than one task row on the activities subpanel (of Contact for instance), the second row had the due date incorrectly formatted.
The problem was that on second record, for alias fields, $aItem->field_defs contains the field definition, but field_name_map does not have the type information.
The solution has been to apply to second and following rows the same treatment as the first row

Motivation and Context

Motivation: Due date was being incorrectly formatted on some records

How To Test This

  1. Create more than one task with due date informed from the activities subpanel of any contact
  2. Check that all due dates are formatted consistently

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.

@serhiisamko091184
Copy link
Contributor

Hello @SinergiaCRM,

thanks again for contributing,

would you be so kind to update the commit text and link it to the actual issue?
image

Thanks a lot!

Regards,
Serhii

@serhiisamko091184 serhiisamko091184 added the Status:Requires Updates Issues & PRs which requires input or update from the author label Oct 14, 2024
@enricsinergia
Copy link

Hello @SinergiaCRM,

thanks again for contributing,

would you be so kind to update the commit text and link it to the actual issue? image

Thanks a lot!

Regards, Serhii

Done @serhiisamko091184

@serhiisamko091184
Copy link
Contributor

Hello @SinergiaCRM,

thanks a lot for the quick reply and changes done!

Regards,
Serhii

@serhiisamko091184 serhiisamko091184 added Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member Branch:Hotfix PR 4-8 Score given to PRs once assessed Status: Requires Code Review Needs the core team to code review and removed Status:Requires Updates Issues & PRs which requires input or update from the author labels Oct 21, 2024
@serhiisamko091184 serhiisamko091184 added Status: Requires Testing Requires Manual Testing Status: Passed Code Review Mark issue has passed code review reviewed and removed Status: Requires Code Review Needs the core team to code review labels Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Branch:Hotfix PR 4-8 Score given to PRs once assessed Status:Assessed PRs that have been tested and confirmed to resolve an issue by a core team member Status: Passed Code Review Mark issue has passed code review reviewed Status: Requires Testing Requires Manual Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants