LimeReport icon indicating copy to clipboard operation
LimeReport copied to clipboard

Serializer is not 'stable'

Open pasnox opened this issue 7 years ago • 4 comments

When editing a report, even for small change (by example, just a width change) the saved file is then TOO MUCH different than the previous one while only a width changed. The xml tags order is not 'stable' ie - it change place from save to save. This could be easily fixed using a map instead of a hash for the names (if it's what is used), else consider grabbing the keys then sort them (qStableSort) before writing them. This will a lot help users making diff against edited reports, it's actually a nightmare :)

Thanks,

pasnox avatar Jul 11 '16 09:07 pasnox