Workflow actions wont save under certain date formats #4595

Closed
opened 2026-02-20 16:20:17 -05:00 by deekerman · 1 comment
Owner

Originally created by @JackBuchanan on GitHub (Jul 19, 2021).

Issue

Workflow actions wont save under certain date formats and dates are loaded as date time

Expected Behavior

Workflow actions should load after save and date fields should not have time appended

Actual Behavior

After save workflow date actions are not loaded and dates are treated as date time
image
image

Possible Fix

Steps to Reproduce

  1. Set profile date format to mm/dd/yyyy
  2. Create opportunity workflow
  3. Set actions & conditions using fields: date modified & expected closed date
  4. Save and reload edit view
  5. See expected closed date with a time and date modified not loaded

Context

Your Environment

  • SuiteCRM Version used: bug on 7.11.20 and 7.10.31
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome
  • Environment name and version (e.g. MySQL, PHP 7): php 7.3
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 18.04
Originally created by @JackBuchanan on GitHub (Jul 19, 2021). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> #### Issue Workflow actions wont save under certain date formats and dates are loaded as date time <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> <!--- Ensure that all code ``` is surrounded ``` by triple back quotes. This can also be done over multiple lines --> #### Expected Behavior Workflow actions should load after save and date fields should not have time appended <!--- Tell us what should happen --> #### Actual Behavior After save workflow date actions are not loaded and dates are treated as date time ![image](https://user-images.githubusercontent.com/32680276/126151851-1bcf44b6-fccd-4870-b59c-930f73ad5556.png) ![image](https://user-images.githubusercontent.com/32680276/126151919-b5b461b0-3b9d-4dfb-adf1-9c62905c3e5a.png) <!--- Tell us what happens instead --> <!--- Also please check relevant logs (suitecrm.log, php error.log etc.) --> #### Possible Fix <!--- Not obligatory, but suggest a fix or reason for the bug --> #### Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug include code to reproduce, if relevant --> 1. Set profile date format to mm/dd/yyyy 2. Create opportunity workflow 3. Set actions & conditions using fields: date modified & expected closed date 4. Save and reload edit view 5. See expected closed date with a time and date modified not loaded #### Context <!--- How has this bug affected you? What were you trying to accomplish? --> <!--- If you feel this should be a low/medium/high priority then please state so --> #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: bug on 7.11.20 and 7.10.31 * Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome * Environment name and version (e.g. MySQL, PHP 7): php 7.3 * Operating System and version (e.g Ubuntu 16.04): Ubuntu 18.04
Author
Owner

@SuiteBot commented on GitHub (Sep 24, 2021):

This issue has been mentioned on SuiteCRM. There might be relevant details there:

https://community.suitecrm.com/t/warning-7-11-21-breaks-workflow-action-custom-datetime-fields/82120/1

@SuiteBot commented on GitHub (Sep 24, 2021): This issue has been mentioned on **SuiteCRM**. There might be relevant details there: https://community.suitecrm.com/t/warning-7-11-21-breaks-workflow-action-custom-datetime-fields/82120/1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4595
No description provided.