It is incredibly rare for a paint to be defective - something like 98% of paint failures are caused by something OTHER than the paint. I cannot believe that whomever you purchased the product from didn' help you out. Especially if the primer was defective? Or was it the wrong application for the that particular primer?
Did you use the same brand of primer and paint? Lots of people won't use a "system" from one manufacturer - they buy primer from a "primer company" and finish coat from a "paint company".
It is always best to use the primer that the finish coat paint manufacturer recommends......you are much less likely to have problems.......and if you do, there is no was to say there was incompatibility.
I still cannot believe you didn't at least get your money back for the paint - or they would supply new paint at no cost - that is pretty standard in the industry.
This is one of those times that perhaps The Home Depot wouldn't have been so bad.......I am sure you would have gotten some satisfaction from them.