Project

General

Profile

Actions

Bug #223

closed

When a host update has errors then the render :edit loses required variables

Added by Paul Kelly about 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Scenario
The user is editing a pre-existing host. The user presses update. The record fails validation.

Instead of redirect_to @host we render :action => :edit

The Hostscontroller#edit method sets three variables which are used in the render :action => edit operation. These are not set when rendering from another method.


Files

0001-Fixes-223.patch 0001-Fixes-223.patch 4.13 KB Paul Kelly, 04/28/2010 05:07 PM
Actions

Also available in: Atom PDF