No photo was broken, yet one button would have deleted most of them
Checked against storage, zero originals were missing. The button's definition of broken was the problem.
For owners and operations leads who give staff a button that deletes in bulk, and the teams that build it.
A car-services business we are related to has an admin gallery with a button that deletes broken photos. We tested the software around it. The button called a photo broken when its thumbnail was missing, and most uploads never get a thumbnail. One click would have deleted three in four image rows.
- Automotive services
- Admin gallery of a booking and catalogue platform
- Money
- Clients
- Reputation

What was at risk
The shop window, gone
The button permanently deleted the row, the original in the private bucket and the published copy. For a car-services business the photo library is the catalogue.
A confirmation that did not say how many
The dialog could not state a count, because the scan ran after the confirmation. The person clicking was agreeing to an unknown number.
Fixes that kept the same flaw
A storage error was read as absence, a public bucket had no read policy and two derived keys were deleted unchecked. Three rounds of fixes did not remove it.
Standards and rules in play
- Typed confirmation and a size limitThe button still asks for a typed confirmation and refuses to run above a quarter of the library.
- Never delete a live copyA row whose public copy is alive is never deleted.
No external standard drove this case. Businesses are also expected to look after customer images and records under data-protection rules such as GDPR. This page describes testing, not an audit.
How we tested it
- Test level
- System testing of an admin function, with a read-only check against live storage.
- Test types
- Functional, with confirmation and regression testing.
- Test basis
- The meaning of a broken photo: the original is missing, not the thumbnail.
- TechniqueEquivalence partitioningPhoto rows grouped by what is actually missing: original, thumbnail or public copy. The button treated rows with no thumbnail as if they were broken.
- TechniqueExperience-based checking against real dataA read-only function checked the live library: zero originals missing, nothing deleted.
- TechniqueError guessingStorage errors read as absence, a public bucket with no read policy and two derived keys deleted unchecked each kept the flaw alive.
Terms as in the ISTQB CTFL 4.0 glossary.
What we found, and what it costs
The button judged a photo broken when its thumbnail was missing
What it costs youThree in four image rows had no thumbnail. One click would have destroyed those originals, the private copy and the published copy.
Only one of four upload routes makes a thumbnail at all
What it costs youA missing thumbnail is normal for most uploads. It is not a sign of damage.
Three rounds of fixes kept the same flaw
What it costs youA fix that looks safe can still delete live photos. The probe had to be replaced, not patched.
Checked live through the new read-only function, zero originals were missing and nothing was deleted.
What changed
The cleanup kept its typed confirmation, a refusal above a quarter of the library and a rule that a row whose public copy is alive is never deleted. The probe was replaced so a storage error is no longer read as absence.
What to check in your own product
- Before you trust a bulk delete, ask why the files it targets count as broken.The button called a photo broken when its thumbnail was missing, and most uploads never get a thumbnail.
- Check the confirmation can state how many items will go.The dialog could not state a count, because the scan ran after the confirmation.
- Check a storage error is not read as "missing".A storage error was read as absence, a public bucket had no read policy and two derived keys were deleted unchecked.
What does your delete button think counts as broken?
We test bulk actions against real data, read-only, before anyone presses them. The first month is a trial.