self.changed_data always return all fields for Workflow

Bug #1153697 reported by Lin Hua Cheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Lin Hua Cheng

Bug Description

When submitting data, the initial value of the form is always empty. Calling the form's self.changed_data always return all fields.

Changed in horizon:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
summary: - Workflow does not initial value when posting data
+ self.changed_data always return all fields for Workflow
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/24197

Changed in horizon:
status: New → In Progress
Changed in horizon:
importance: Undecided → Medium
milestone: none → grizzly-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/24197
Committed: http://github.com/openstack/horizon/commit/80f5126790fda7388cdbc7913dfcc98d6ddf5fa4
Submitter: Jenkins
Branch: master

commit 80f5126790fda7388cdbc7913dfcc98d6ddf5fa4
Author: Lin Hua Cheng <email address hidden>
Date: Tue Mar 12 09:17:37 2013 -0700

    Pass-in the initial value when performing a POST on Workflow Action. This fixes the call to self.changed_data, it allows django forms to be able to compare initial value with current value.

    Fixes bug 1153697.

    Change-Id: I21846487ada34f3b007a545bcdcba400bd044af5

Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: grizzly-rc1 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.