Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0028567Openbravo ERPA. Platformpublic2015-01-12 14:372022-02-01 08:05
shuehner 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
No
Core
No
0028567: generated web.xml servlet mapping for manual servlets not stable across recompiles
The query used to generate the servlet mapping for manual servlets is missing a proper order by so the order of those lines in the generated web.xml is not stable.

This can be i.e. observed when compared web.xml of pristine pi with one from retail.
On top of expected changes also lots of unwanted ordering changes are present.

Not a big problem but annoying when changing that code as makes it hard to compare effects in generated output.
-
Add stable order by for selectMapping method of Wad_data.xsql as per attached patch.
No tags attached.
diff 28567.diff (484) 2015-01-12 14:37
https://issues.openbravo.com/file_download.php?file_id=7667&type=bug
Issue History
2015-01-12 14:37shuehnerNew Issue
2015-01-12 14:37shuehnerAssigned To => AugustoMauch
2015-01-12 14:37shuehnerOBNetwork customer => No
2015-01-12 14:37shuehnerModules => Core
2015-01-12 14:37shuehnerTriggers an Emergency Pack => No
2015-01-12 14:37shuehnerFile Added: 28567.diff
2015-01-12 14:38shuehnerNote Added: 0073427
2015-01-12 15:38alostaleTarget Version => 3.0PR15Q2
2015-03-11 08:11alostalePrioritylow => high
2015-03-11 08:11alostaleStatusnew => acknowledged
2015-03-11 08:11alostaleTarget Version3.0PR15Q2 =>
2015-03-17 14:37alostaleAssigned ToAugustoMauch => platform
2015-11-11 11:37alostalePriorityhigh => normal
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

Notes
(0073427)
shuehner   
2015-01-12 14:38   
Patch changes from order by ad_model_object_mapping.name (which is nullable) to classname,mappingname.

Note: Alternative ordering could be action ||ad_model_object_id,mappingname

to have more obvious ordering in file.
But main point is to get ordering stable.