I noticed that the ordering of the Drupal core components was all fubar. I tried to fix it, but after making a few changes and trying to save, the order was still somewhat scrambled. Then I realized that the underlying weight field only has a delta of 15 options, and core has quite a few more components than that. ;)

I just changed it on d.o to use a delta of 50 and now it's working. I'll officially commit and deploy this in a bit. Just wanted to open an issue about it.

Comments

dww’s picture

Status: Active » Needs review
StatusFileSize
new1.55 KB

Here's an even better patch -- instead of hard-coding a large number, we just dynamically set the delta based on how many components the project has, or 20, whatever is bigger.

hunmonk’s picture

Status: Needs review » Reviewed & tested by the community

seems like a nice future-proof solution.

dww’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +needs drupal.org deployment

Committed to HEAD. Thanks for the review. It'd be nice to roll this out officially on d.o... maybe once there are a few other project_issue bugs fixed.

dww’s picture

Issue tags: -needs drupal.org deployment

Synced code to SVN and deployed revision 1660 on d.o.

Status: Fixed » Closed (fixed)

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