Then isn't it a bug in pua_dialoginfo?
I don't think so. The purpose of E-Tag is to identify a state of the resource. If the resource changes a new E-Tag has to be generated. [Generating Entity-tags](https://tools.ietf.org/html/rfc5839#page-20) In this case, pua_dialoginfo is changing the state so a new E-Tag has to be generated and the record in db in this case must be updated. Not insert a new one.