Bug #2404
Updating environment name leads to 404
Description
Steps to reproduce:
1. create environment "foo"
2. open of editing, change to "foo-bar", submit
3. you'll get invalid format message
4. change name to "foo_bar", submit
5. you get "Environment not found" error, nothing updated
Expected:
Environment updated successfully
Associated revisions
fixes #2404 - prevents 404 when updating invalid name used as id
(cherry picked from commit 696420ff788834dad99352d326fa74fd764572cd)
History
#1
Updated by Sam Kottler over 9 years ago
- Category set to Web Interface
- Status changed from New to Assigned
- Assignee set to Sam Kottler
- Target version set to 1.2.0
- Difficulty set to easy
#2
Updated by Sam Kottler over 9 years ago
Thanks for the report!
Do you get a message when trying to submit that it contains invalid characters? I do, which prevents me from submitted with the new name.
#3
Updated by Ivan Necas over 9 years ago
I get the message, but it's part of the edit form, so that I can change the name a resubmit again.
#4
Updated by Sam Kottler over 9 years ago
I see what you mean now that I've hit submit twice - working on a patch now.
#5
Updated by Greg Sutcliffe about 9 years ago
- Priority changed from Normal to Low
#6
Updated by Ohad Levy about 9 years ago
- Assignee deleted (
Sam Kottler)
#7
Updated by Joseph Magen about 9 years ago
- Assignee set to Joseph Magen
#8
Updated by Joseph Magen about 9 years ago
- Status changed from Assigned to Ready For Testing
#9
Updated by Joseph Magen about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 696420ff788834dad99352d326fa74fd764572cd.
fixes #2404 - prevents 404 when updating invalid name used as id