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
Relationship fields couldn't update with workflow apis #24167
Labels
OKR : Customer Support
Owned by Scott
Priority : 1 Show Stopper
QA : Approved
QA : Passed Internal
Release : 22.03.12
Included in LTS patch release 22.03.12
Release : 23.01.9
Included in LTS patch release 23.01.9
Release : 23.10.24
Bug-Fixing
Team : Lunik
Type : Defect
Comments
swicken-dotcms
added
OKR : Customer Support
Owned by Scott
Priority : 1 Show Stopper
labels
Feb 21, 2023
3 tasks
jdotcms
added a commit
that referenced
this issue
Apr 4, 2023
Needs to check the PR |
@jcastro-dotcms Please check the PR, fix the conflicts, run the tests and let's internal QA this. |
fmontes
pushed a commit
that referenced
this issue
Aug 23, 2023
* Allowed ContentletRelationships type to be copied for contentlet * Added postman tests for issue 24167 * Updated postman tests description + added incomplete IT * #24167 getting complete the curl test * #24167 adding unit test * Merging `Workflow Resource Tests.json` with latest version in `master`. --------- Co-authored-by: jdotcms <jonathan.sanchez@dotcms.com> Co-authored-by: Jose Castro <jose.castro@dotcms.com>
A customer is hitting this indirectly. https://dotcms.zendesk.com/agent/tickets/113060 |
INTERNAL QA: PASSEDRelationship fields can be successfully updated via the Workflow API now. Here are the steps to reproduce:
|
victoralfaro-dotcms
added
Release early-access
and removed
Release : 23.10.24
Bug-Fixing
labels
Oct 16, 2023
erickgonzalez
added
Next LTS Release
and removed
LTS : Next
Ticket that will be added to LTS
labels
Nov 10, 2023
erickgonzalez
added a commit
that referenced
this issue
Nov 16, 2023
erickgonzalez
added a commit
that referenced
this issue
Nov 16, 2023
erickgonzalez
added a commit
that referenced
this issue
Nov 30, 2023
erickgonzalez
added
Release : 22.03.12
Included in LTS patch release 22.03.12
and removed
Next LTS Release
labels
Dec 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
OKR : Customer Support
Owned by Scott
Priority : 1 Show Stopper
QA : Approved
QA : Passed Internal
Release : 22.03.12
Included in LTS patch release 22.03.12
Release : 23.01.9
Included in LTS patch release 23.01.9
Release : 23.10.24
Bug-Fixing
Team : Lunik
Type : Defect
Problem Statement
When workflow action apis use to update/add relationship fields for a contentlet then there are two behaviors occur.
Example:
Response:
{"message":"The map contains an invalid value: class com.dotmarketing.portlets.structure.model.ContentletRelationships"}
2: It returns contentlet data but didn't update relationship field however the last update date change for contenlet
Example:
Response:
Contenlet data in json -- Omit that response for bravery
Steps to Reproduce
Create two contenttypes e.g Movie, Region
Create a relationship field one-to-many in Movie with Region
Create two Region contentlets e.g Asia, Africa
Create a contenlet of Movie and don't assign region to it yet because try to add with Workflow API
At last do REST api call with correct identifier and inode
Acceptance Criteria
If REST body is correct then Workflow REST api should update relationship field according to data otherwise should return meaning full error response.
dotCMS Version
23.0.1
Proposed Objective
Customer Support
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.zendesk.com/agent/tickets/110108
https://dotcms.zendesk.com/agent/tickets/113060
Assumptions & Initiation Needs
No response
Sub-Tasks & Estimates
No response
The text was updated successfully, but these errors were encountered: