After resolving my issue posted here, I was finally able to get a Map<Id,List<Quote>>
variable like I needed, but now I can't seem to iterate through the variable. I have tried things like this:
for(Contact cid : quotes.keyset()){
System.debug(quotes.get(cid));
}
Results: [ERROR] Incompatible key type SOBJECT:Contact for MAP>
AND
for(List<Quote> q : quotes.values()){
System.debug(q);
}
Results: System.QueryException: List has more than 1 row for assignment to SObject