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

Workflow module - Create Action bug with custom date #3272

Open
offshoreevolution opened this issue Mar 14, 2017 · 3 comments
Open

Workflow module - Create Action bug with custom date #3272

offshoreevolution opened this issue Mar 14, 2017 · 3 comments
Labels
Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Type:Bug Bugs within the core SuiteCRM codebase

Comments

@offshoreevolution
Copy link

Issue

When a task is created from another task the start date of the new task should be based on the other tasks custom datetime however it seems to be picking up the current date.

Expected Behavior

We can set start date as custom date "Next Date(datetime)", create new task start date = next date.
Solutions: Problem with code has fetched_row value get but When we create new record at that time fetched_row blank value that's why issue. So we need to latest value get using obj->field_name at CreatedRecord action.

Actual Behavior

create new task start date = current date time

Possible Fix

modules/AOW_Actions/actions/actionCreateRecord.php
line no: 216
#$date = $bean->fetched_row[$params['value'][$key][0]];
$date = $bean->$params['value'][$key][0];

@samus-aran
Copy link
Contributor

samus-aran commented Mar 17, 2017

@offshoreevolution Thanks for your suggestion, can you make a PR so we can test this on other scenarios.

But just to confirm:

Which actions are you setting to 'create a custom date'?

suitecrm_1

or 2.
suitecrm_2

@samus-aran samus-aran added the Status:Requires Updates Issues & PRs which requires input or update from the author label Mar 17, 2017
@offshoreevolution
Copy link
Author

Hi @samus-aran,

How can I PR or Commit my code ?

screenshot--1

@Dillon-Brown Dillon-Brown added Type:Bug Bugs within the core SuiteCRM codebase Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds and removed Status:Requires Updates Issues & PRs which requires input or update from the author labels Sep 27, 2017
@Dillon-Brown
Copy link
Contributor

Hi @offshoreevolution, if you are still interested in creating a pull request for this issue, please read the SuiteCRM Contributor Guide. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:Moderate Issues & PRs that are minor; broken styling, cosmetic, warnings - there are practical workarounds Status:Fix Proposed A issue that has a PR related to it that provides a possible resolution Type:Bug Bugs within the core SuiteCRM codebase
Projects
None yet
Development

No branches or pull requests

3 participants