Modify ↓
Opened 11 years ago
Closed 11 years ago
#12248 closed defect (fixed)
[patch] field_types incorrectly intialized (can break layout with textarea fields)
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | high | Component: | CondFieldsPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description (last modified by )
It seems in revisions [12825] and [12827] the indentation of a for loop in web_ui.py was messed up - as a result the field_types are not initialized (only one item is added), which would be used in condfields.js to determine whether or not a field requires a full row (the 'textarea' type).
This can cause a completely broken layout, depending on the number and type of custom fields in some tracs.
Attachments (1)
Change History (4)
Changed 11 years ago by
| Attachment: | condfields_indentation_fix.patch added |
|---|
comment:1 Changed 11 years ago by
| Description: | modified (diff) |
|---|
comment:2 Changed 11 years ago by
| Owner: | set to bannerth.akos@… |
|---|---|
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.



I think there might have been some tabs in the source code, and I didn't get the indentation correct when replacing them. Thanks for the patch.