Uploaded image for project: 'OpenAI Integrations '
  1. OpenAI Integrations
  2. OPENAIINT-10

Cannot generate page with multi-field component

    XMLWordPrintable

Details

    • Bug
    • Resolution: Resolved
    • Neutral
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          1. image-2023-10-17-16-13-07-439.png
            image-2023-10-17-16-13-07-439.png
            1.24 MB
          2. image-2023-10-17-16-17-22-301.png
            image-2023-10-17-16-17-22-301.png
            61 kB
          3. image-2023-10-17-16-19-54-740.png
            image-2023-10-17-16-19-54-740.png
            101 kB
          4. image-2023-10-17-16-20-58-879.png
            image-2023-10-17-16-20-58-879.png
            201 kB
          5. image-2023-10-17-16-22-48-920.png
            image-2023-10-17-16-22-48-920.png
            61 kB
          6. image-2023-10-17-16-23-21-917.png
            image-2023-10-17-16-23-21-917.png
            226 kB
          7. image-2023-10-17-16-23-46-522.png
            image-2023-10-17-16-23-46-522.png
            245 kB
          8. image-2023-10-17-16-25-20-170.png
            image-2023-10-17-16-25-20-170.png
            90 kB
          9. screenshot-1.png
            screenshot-1.png
            203 kB
          10. screenshot-2.png
            screenshot-2.png
            181 kB

          Activity

            People

              Unassigned Unassigned
              phuong.dinh Phuong Dinh
              Annick Boehler, Michael Schneider, Minh Nguyen, Stanislav Misak, Tomáš Gregovský
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: