[contributions(DRUPAL-4-7--2):dww] /modules/project/release project_release.module
User: dww Branch: DRUPAL-4-7--2 Date: Wed, 25 Oct 2006 07:18:33 +0000 Modified files: /modules/project/release project_release.module Log message: #83339: make releases real nodes (see also #58066 and #75053) release_as_node.patch_22.txt by dww (comment 37): fixes for validation: - properly prevents you from submitting a duplicate release with the same version as an existing one. this works both without cvs.module installed, and in the nasty N-page form. ;) accomplished by means of a new project_release_exists() method that really works. ;) - we need to check isset($edit->version_major) and friends, not just !$edit->version_major, or we incorrectly flag validation errors if you want to submit a 0.0 release without "dev" or anything in the "extra" field. - added some additional check_plain() when using form_set_value() Links: http://cvs.drupal.org/diff.php?path=contributions/modules/project/release/pr...
participants (1)
-
drupal-cvs@drupal.org