Download & Extend

SimpleTest hook_uninstall() does not delete the correct variables

Project:Drupal core
Version:7.x-dev
Component:simpletest.module
Category:bug report
Priority:normal
Assigned:boombatower
Status:closed (fixed)

Issue Summary

In simpletest_uninstall() the removed variables are out of date and some of the newer ones are not removed at all.

Comments

#1

Assigned to:Anonymous» boombatower
Status:active» needs review

Could not find a reference to simpletest_devel anywhere in Drupal 7.

simpletest_httpauth, simpletest_httpauth_username, simpletest_httpauth_pass are from the old httpauth setup.

simpletest_clear_results was not removed

AttachmentSizeStatusTest resultOperations
500270-simpletest-uninstall.patch811 bytesIdleFailed: Failed to install HEAD.View details

#2

Status:needs review» needs work

The last submitted patch failed testing.

#3

Status:needs work» needs review

Test slave crapped.

#4

Updated per: #500292: Provide a settings page for hidden SimpleTest variables.

AttachmentSizeStatusTest resultOperations
500270-simpletest-uninstall.patch881 bytesIdleFailed: Failed to install HEAD.View details

#5

Other issue renamed variables.

AttachmentSizeStatusTest resultOperations
500270-simpletest-uninstall.patch839 bytesIdleFailed: Failed to apply patch.View details

#6

Status:needs review» needs work

The last submitted patch failed testing.

#7

Status:needs work» reviewed & tested by the community

Extremely simple so I'll mark it for RTBC.

AttachmentSizeStatusTest resultOperations
500270-simpletest-uninstall.patch834 bytesIdlePassed: 11567 passes, 0 fails, 0 exceptionsView details

#8

Status:reviewed & tested by the community» fixed

Committed to CVS HEAD. Thanks.

#9

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.