Overview

#3533703: Calling the `setPageData` action creator directly doesn't update values in the page data form fixed a broadly visible problem for trying to update the value of the title field in the page data form via the AI agent. Looks like there is one case left where the same problem is still apparent, which can be reproduced the following way:

  1. Create a new page using the XB UI. Do not publish.
  2. Ask the agent to edit the page title.
  3. Notice that the new title shows up for a moment, and the field quickly reverts to "Untitled page".

See the attached video. After publishing the page, the problem goes away.

Proposed resolution

Review the solution in #3533703: Calling the `setPageData` action creator directly doesn't update values in the page data form and fix the issue.

User interface changes

n/a

CommentFileSizeAuthor
Title_generation_0.x.mov13.1 MBkunal.sachdev
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kunal.sachdev created an issue. See original summary.

kunal.sachdev’s picture

Issue summary: View changes
kunal.sachdev’s picture

Issue summary: View changes
kunal.sachdev’s picture

Title: Title is not update on the page when created through AI » Title is not updated on the page when created through AI

balintbrews’s picture

Title: Title is not updated on the page when created through AI » AI agent is unable update the title of a page that hasn't been published yet
Assigned: Unassigned » bnjmnm
Priority: Normal » Major
Issue summary: View changes
Related issues: +#3533703: Calling the `setPageData` action creator directly doesn't update values in the page data form

We had a debugging session with @narendrar and @bnjmnm where we managed to identify how to reproduce the problem, so updating the issue summary.

balintbrews’s picture

Assigned: bnjmnm » narendrar
Status: Active » Reviewed & tested by the community

The MR looks good to me, and manual testing shows that it solves the problem. @narendrar, would you mind testing, as well?

narendrar’s picture

Assigned: narendrar » Unassigned

Tested manually—issue is resolved. The title updates as expected.

  • balintbrews committed 15c954b1 on 0.x authored by bnjmnm
    Issue #3535795 by bnjmnm, kunal.sachdev, narendrar, balintbrews: AI...
balintbrews’s picture

Status: Reviewed & tested by the community » Fixed

Thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.