Closed
Bug 734083
Opened 12 years ago
Closed 12 years ago
Add balrog database admin form base class
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: edransch, Assigned: edransch)
References
Details
Attachments
(1 file, 2 obsolete files)
1.26 KB,
patch
|
bhearsum
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
All forms which allow database queries will need the data_version field. We should have a Base Class for all such forms which contains only that field. It can then be extended for any desired functionality.
Assignee | ||
Comment 1•12 years ago
|
||
Add new class which contains the hidden data-version field used for database edits. All forms which allow database modifications should inherit from this.
Attachment #604130 -
Flags: review?(bhearsum)
Comment 2•12 years ago
|
||
Comment on attachment 604130 [details] [diff] [review] base class for form that edit database Review of attachment 604130 [details] [diff] [review]: ----------------------------------------------------------------- ::: auslib/web/views/forms.py @@ +35,5 @@ > else: > log.debug('JSONTextField: No value list, setting self.data to {}') > self.data = {} > > +class DbEditForm(Form): Minor name quibble: EditableForm. Can you change that on your github branch? No need to repost.
Attachment #604130 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 3•12 years ago
|
||
Updated to address feedback
Attachment #604130 -
Attachment is obsolete: true
Attachment #605894 -
Flags: review?(bhearsum)
Updated•12 years ago
|
Attachment #605894 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 4•12 years ago
|
||
The patch that was attached was invalid. This one should apply cleanly.
Attachment #605894 -
Attachment is obsolete: true
Attachment #608829 -
Flags: review?(bhearsum)
Comment 5•12 years ago
|
||
Comment on attachment 608829 [details] [diff] [review] Add base class for DB edit forms Review of attachment 608829 [details] [diff] [review]: ----------------------------------------------------------------- Landed this, Jenkins run is here: https://jenkins.mozilla.org/job/Balrog/57/
Attachment #608829 -
Flags: review?(bhearsum)
Attachment #608829 -
Flags: review+
Attachment #608829 -
Flags: checked-in+
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•6 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•