Currently it is not possible to set a negative value for default weight (content type form crashes on it, weight_update_7200 fails on it).

Patch changes the database schema (default_value field: unsigned => FALSE) and provides an upgrade path (weight_update_7204)

I don't know if changing it to a signed field will lead to any length problems.

CommentFileSizeAuthor
weight_negative_default_values.patch859 bytesthijsvdanker

Comments

davisben’s picture

Status: Needs review » Fixed

Committed to 7.x-2.x. Thanks for the patch!

Status: Fixed » Closed (fixed)

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