[OPENAIINT-10] Cannot generate page with multi-field component Created: 17/Oct/23  Updated: 19/Oct/23  Resolved: 19/Oct/23

Status: Closed
Project: OpenAI Integrations
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Phuong Dinh Assignee: Unassigned
Resolution: Resolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2023-10-17-16-13-07-439.png     PNG File image-2023-10-17-16-17-22-301.png     PNG File image-2023-10-17-16-19-54-740.png     PNG File image-2023-10-17-16-20-58-879.png     PNG File image-2023-10-17-16-22-48-920.png     PNG File image-2023-10-17-16-23-21-917.png     PNG File image-2023-10-17-16-23-46-522.png     PNG File image-2023-10-17-16-25-20-170.png     PNG File screenshot-1.png     PNG File screenshot-2.png    
Template:
Acceptance criteria:
Empty
Visible to:
Annick Boehler, Michael Schneider, Minh Nguyen, Stanislav Misak, Tomáš Gregovský

 Description   

Steps to reproduce

  1.  Choose template containing jcrMultiField component
  2.  Click generate page
  3.  Click go to page
  4.  Get error in jcrMultiField component

Screen Record attached below:
https://drive.google.com/file/d/1BSlTryVjSOCU7P1NAYxPJzEHhjrM8eLz/view?usp=sharing

Expected results

Generate the whole page with jcrMultiField component successfully.

Actual results

Get error in jcrMultiField component

Workaround

1. When calling openAI, the payload of jcrMultiField is different from the one of other fields
The properties field of jcrMultiField has empty value

On the other hand, the properties field of banner (textField) has value

2. Maybe that's why when calling openAI, the result (choices[0].message.function_call.arguments) of jcrMultiField is empty

jcrMultiField:

banner - textField:

3. This page is stored in JCR with below structure, as you can see, node /environment1/main/0 is jcrMultiField with empty body



 Comments   
Comment by Phuong Dinh [ 19/Oct/23 ]

Dear team,

After testing carefully, I realized I missed jcrMultiField in configuration file.

Thank you.

Generated at Mon Feb 12 10:23:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.