http://www.nirogue.com/dtc_circuit_diagnosis-1424.html
I found this with just a quick search, you've probably already seen it. Double locking door motor? Really? Does it have anything to do with the rear hatch auctator not working or frozen? If all other doors are working properly I would be thinking in that direction.
Find a wiring schematic, locate the grounding points (all of them) and clean and reseat them. Use some dielectric grease especially if the vehical has gotten wet, which i assume it has. I've replaced auctators on VW s before but never on a Nissan. Usually it's a matter of 2-4 screws holding the auctator body on and an electrial connector.
Record the codes and then try clearing them and see what comes back. Sometimes codes just need to be cleared. Having the ecu and bcm replaced probably generated a bunch of codes.