Bug 1761836

Summary: `last_generated_content_on` doesn't update on automating the generation of widget content Via RESTAPI
Product: Red Hat CloudForms Management Engine Reporter: Parthvi Vala <pvala>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: POST --- QA Contact: Sudhir Mallamprabhakara <smallamp>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.12   
Target Milestone: GA   
Target Release: 5.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Parthvi Vala 2019-10-15 13:13:37 UTC
Description of problem:
`last_generated_content_on` doesn't update on automating the generation of widget content Via RESTAPI

Version-Release number of selected component (if applicable):
5.10.12

How reproducible:
Always

Steps to Reproduce:
0. GET /api/widgets/:id and note the `last_generated_content_on`.
1. POST /api/widgets/:id
{
    "action": "generate_content"
}
2. Wait until the task completes
3. GET /api/widgets/:id and compare the value of `last_generated_content_on` with the value noted in step 0.

Actual results:
0.
1.
2.
3. Value does not change.
Expected results:
0.
1.
2.
3. Value must be updated

Additional info:
Reference BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1753682

Comment 2 drew uhlmann 2019-10-15 13:17:17 UTC
May I please have a reproducer for this?

Comment 4 drew uhlmann 2019-11-06 14:05:35 UTC
https://github.com/ManageIQ/manageiq-api/pull/698