Project

General

Profile

Actions

Defect #11979

closed

No validation errors when entering an invalid "Parent task"

Added by Go MAEDA about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Validation errors should be displayed if the "Parent task" value is non-numeric value.


Related issues

Related to Redmine - Defect #12092: Issue "start date" validation does not work correctlyClosedJean-Philippe Lang

Actions
Actions #1

Updated by Jean-Philippe Lang about 12 years ago

  • Subject changed from No validation errors are displayed when update an issue with wrong "Parent task" value to No validation errors when entering a non numeric "Parent task"
  • Status changed from New to Confirmed
Actions #2

Updated by Jean-Philippe Lang about 12 years ago

  • Subject changed from No validation errors when entering a non numeric "Parent task" to No validation errors when entering an invalid "Parent task"
Actions #3

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Confirmed to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.2.0
  • Resolution set to Fixed

Fixed in r10615.

Actions #4

Updated by Toshi MARUYAMA about 12 years ago

  • Status changed from Closed to Reopened
  • Resolution deleted (Fixed)

Sharp issue id number (e.g. #11979) validation does not work.
This functional test fails.

  def test_post_create_subissue_with_sharp_parent_id_validate
    @request.session[:user_id] = 2

    assert_difference 'Issue.count' do
      post :create, :project_id => 1,
                 :issue => {:tracker_id => 1,
                            :subject => 'This is a child issue',
                            :parent_issue_id => '#1'}
      assert_response 302
    end
  end
Actions #5

Updated by Jean-Philippe Lang about 12 years ago

  • Status changed from Reopened to Closed
  • Resolution set to Fixed

Fixed in r10658.

Actions

Also available in: Atom PDF