Closed (fixed)
Project:
Experience Builder
Version:
0.x-dev
Component:
Redux-integrated field widgets
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2025 at 05:14 UTC
Updated:
23 May 2025 at 11:49 UTC
Jump to comment: Most recent
Comments
Comment #2
larowlanComment #4
larowlanWe're getting fatals from the backend on adding a third item, so this is catching an actual regression.
Will dig into it tomorrow
Comment #5
larowlanGot to the bottom of this, the code we added for the media library to keep track of form state cache didn't work if the triggering element in an ajax callback had limit validation errors.
Comment #6
larowlanComment #7
larowlanBumping to critical bug because I marked #3519123: Page Data Form + Options as Buttons error on AJAX submits as a duplicate
Assigning to @bnjmnm to review
Comment #9
wim leers🤪🤯 Wow wow wow @
ClientDataToEntityConverter::setEntityFields(), but given the detailed (and essential!) comments left by @larowlan on there, I feel zero need to step through all that again to verify it. This looks ready to me.Unfortunately the
widget-multivalue.cy.jse2e test failed withRetesting… 🤞
Comment #10
bnjmnmI'm running into the same test failure locally , which is an existing test that also deals with the multi-value textfield widget. It failing on the portion of the test where the items in the multivalue field are reordered. The dragging of the lower item to the top no longer seems to register.
This still works manually, though, so hopefully it's just a matter of tweaking widget-multivalue.cy.js a bit. Unassigning myself for now.
Comment #11
larowlanI had a thought about this while I was on leave - I think the issue is the
realDndcode we have is confused by the fact the field is in a fixed height scrollable pane. When the test was written we had a small number of fields but as we've expanded things it has now grown. I'll see if making the weight of this field lighter so that is shows in the viewport without scrolling makes a difference.Comment #12
larowlanAdded a related issue for locking
Comment #13
larowlanComment #14
larowlanPostponed #3514900: EntityFormController should load auto-save state if it exists on this as it is very obvious once this is in (you lose data)
Comment #15
wim leersI'm really curious to see if this will also make the multi-value widget for the new
sparklineSDC that #3467870: Support `{type: array, …}` prop shapes introduced work! 🤓But: out of scope here, assigning to @bnjmnm for final sign-off!
Comment #16
bnjmnmI spotted one small thing mentioned in an MR comment that I think I can just remove, but I wanted to confirm with the original author. If it's as simple as that, removing and re-rtbcing seems fine to me and I can commit.
Comment #18
bnjmnmMerged!