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:
- Create a new page using the XB UI. Do not publish.
- Ask the agent to edit the page title.
- 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
| Comment | File | Size | Author |
|---|---|---|---|
| Title_generation_0.x.mov | 13.1 MB | kunal.sachdev |
Issue fork experience_builder-3535795
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
Comment #2
kunal.sachdev commentedComment #3
kunal.sachdev commentedComment #4
kunal.sachdev commentedComment #7
balintbrewsWe had a debugging session with @narendrar and @bnjmnm where we managed to identify how to reproduce the problem, so updating the issue summary.
Comment #9
balintbrewsThe MR looks good to me, and manual testing shows that it solves the problem. @narendrar, would you mind testing, as well?
Comment #10
narendrarTested manually—issue is resolved. The title updates as expected.
Comment #12
balintbrewsThank you!