Here is the reason why you may have loss of function of rear electrics including boot lock mechanism, double locking, boot warning light etc.
You will need some new wiring, small connectors and electrical tape and some wire clippers
Location of offending loom
Location of offending clip as
described by Pete
Tear in loom
Location of broken wires (purple/blue?)
and plain black
Dodgy temporary connectors
Dodgy repair job
Job done!!