Closed Bug 1171074 Opened 6 years ago Closed 6 years ago

Removing a custom field does not clear config memcache

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

When deleting a custom field, the memcache->clear_config method should be called to remove the old field from the cache. Currently a DB error is generated stating the bugs table column does not exist.

This was uncovered by the test_custom_fields*.t Selenium cases with memcached enabled.

dkl
Attached patch 1171074_1.patchSplinter Review
Upstream calls SUPER::remove_from_db which clears the config cache properly so no need to fix there.

dkl
Attachment #8614763 - Flags: review?(glob)
Comment on attachment 8614763 [details] [diff] [review]
1171074_1.patch

Review of attachment 8614763 [details] [diff] [review]:
-----------------------------------------------------------------

r=glob
Attachment #8614763 - Flags: review?(glob) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   be25975..ee8fcda  master -> master
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.