I just did an export of an application I am working on in Apex 4.2 and I noticed that, for every report column API call (which are not few) a new attribute was added to the export file. This is an example:
p_id=> 9764732184393296 + wwv_flow_api.g_id_offset,
p_region_id=> 9764217086393291 + wwv_flow_api.g_id_offset,
p_heading_alignment=>'CENTER', <-- This line suddenly appeared in the export file for ALL report columns that didn't have it before
This is a live application and the only way to ensure that only the correct code is deployed to production is to use a DIFF tool to check the changes made.
Needless to try to describe how frustrating and time-consuming this process is when dozens, if not hundreds, of changes suddenly appear in the export file for no reason. As far as I know, I didn't do any major (or global) changes to the application, Apex wasn't upgraded or anything else that could have triggered such changes.
So I have two questions:
- Why does this happen?
- What can we do (or not do) so this doesn't happen again in the future?