@mineo : what happens if we have same data and different types and/or comment ?
It may happens with CAA when the same image file is added twice but with different types/comment, it doesn't make much sense, but it may happens.