Cannot update the order weight using complex form widget

Created on 15 February 2019, almost 6 years ago
Updated 7 January 2024, 10 months ago

Update an inline form having custom entities.
Change the weight of the order of custom entities in the inline form.
Update or save the inline form.
Change in weight or order not reflecting

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇮🇳India kalpanajaiswal

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States dcam

    This is a duplicate of 🐛 IEF complex widget: Re-ordering / weight sometimes not updated Needs work . Both issues have patches with widely different solutions. We need to figure out which one to implement (if any). Both patches need tests. The less desirable solution's issue needs to be closed after granting credit to all contributors in the other issue.

    For what it's worth, I think that this is the patch we use on my sites, but I'll have to verify that sometime when I'm at work.

    Also, if this doesn't cause regressions, then it may indicate that this code is unnecessary. And I'd rather remove unnecessary code than add the new code that's in the other issue's patch.

  • 🇺🇸United States dcam

    Just FYI, I tried to reproduce the issue so that I could write a test, but I couldn't make it happen. And yet I know that we've had this problem at work. I have actually seen this problem in action. So if anyone can provide us with reliable steps to reproduce, then I'll volunteer to take care of writing a test.

  • 🇩🇪Germany geek-merlin Freiburg, Germany

    @dcam: Sounds very reasonable. Rock on!

Production build 0.71.5 2024