Attempting to delete any row in the config form always deletes the last row only

Created on 15 November 2017, about 7 years ago
Updated 14 March 2023, over 1 year ago

If you have an entity limit configuration with 10 user limits and you want to remove 5th user limit, it will always delete the last limit.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇮🇳India gaurav.goyal

Live updates comments and jobs are added and updated live.
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 loze Los Angeles

    I think I finally got this working correctly. This patch fixes the issue with the correct row not being deleted when you click the "remove row" button.

    This only fixes the issues with the RoleLimit plugin. If the maintainers think this is acceptable, I can provide a patch for the UserLimit plugin as well.

    thanks.

  • Issue was unassigned.
  • 🇺🇸United States loze Los Angeles
Production build 0.71.5 2024