While creating framework term, not ab le to pass list of term object in request payload #195
Closed
amitpriyadarshi
started this conversation in
Bugs
Replies: 2 comments
-
@amitpriyadarshi Which release version you are using? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@pallakartheekreddy we used the work around solution i.e. passing term as object instead of list of objects. It is working fine. Also as you mentioned the fix is in 6.0.0, it will work for us. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pallakartheekreddy
Problem:
While creating framework term request payload with list of terms is not working and throwing server error.
Taxonomy Service Version: release-5.7.0_RC7
Working Payload:
{ "request": { "term": { "name": "CBSE", "code": "cbse" } } }
Non Working Payload:
{ "request": { "term": [ { "name": "CBSE", "code": "cbse" } ] } }
RCA:
As per the code walk through we realised
term
in the payload is expected asMap
, while in the request payloadterm
was getting passed asList of Map
.But in old implementation request payload with
term
asMap
andList of Map
was getting handled.cc: @vinukumar-vs
Beta Was this translation helpful? Give feedback.
All reactions