(bug #3011) csv export doesn't fill all the fields