DiffTool: removePropertyList function should be working same for both ERP5...
DiffTool: removePropertyList function should be working same for both ERP5 object and dictionaries of ERP5 object properties Before we use to neglect removing some properties from ERP5 object properties' dict, which led to error in case of use of DiffTool for Historical Revisions dict. Thus, its important for removeProperties function to act similar in both cases. Also, add `base_data` in attribute_set to be removed because `data`, `base_data` and `text_content` are same
Showing
-
Owner
Also, add
base_data
in attribute_set to be removed becausedata
,base_data
andtext_content
are sameFYI, this is not always the case, the difference between
data
andbase_data
is not well know (at least in erp5_dms), but in essence, if you upload a CSV file in aSpreadsheet
portal type in document module:-
data
is the CSV as you uploaded -
base_data
is the ODS conversion of the CSV, because ODS is "base format" for CSV.
This means that after uploading a new file, both
data
andbase_data
will change (andbase_data
change in another transaction because base conversion is deferred), in that case, it's probably better to show only diff. -
Please register or sign in to comment