Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015836 | Openbravo ERP | 00. Application dictionary | public | 2011-02-01 21:00 | 2012-04-21 14:24 |
|
Reporter | wimjassen | |
Assigned To | mirurita | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | UBUNTU 10.10 |
Product Version | 2.50MP23 | |
Target Version | | Fixed in Version | 3.0MP11 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0015836: function c_location_description does not return correct data |
Description | The function c_location_description does not return correct data. It seems that the case statement: WHEN(L.POSTAL||L.CITY||R.NAME) IS NULL always return NULL when there is no region.
As a result no postal and city are returned by the function. |
Steps To Reproduce | call stored procedure with an existing location_id where no region is defined |
Proposed Solution | Replace case statement by: WHEN(L.POSTAL IS NULL AND L.CITY IS NULL AND R.NAME IS NULL) |
Additional Information | |
Tags | VMA-Reviewed |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-02-01 21:00 | wimjassen | New Issue | |
2011-02-01 21:00 | wimjassen | Assigned To | => alostale |
2011-02-01 21:00 | wimjassen | Modules | => Core |
2011-02-07 08:31 | alostale | Status | new => scheduled |
2012-02-28 13:29 | alostale | Assigned To | alostale => vmromanos |
2012-04-11 12:00 | vmromanos | Tag Attached: VMA-Reviewed | |
2012-04-18 13:46 | mirurita | Assigned To | vmromanos => mirurita |
2012-04-18 14:00 | hgbot | Checkin | |
2012-04-18 14:00 | hgbot | Note Added: 0047703 | |
2012-04-18 14:00 | hgbot | Status | scheduled => resolved |
2012-04-18 14:00 | hgbot | Resolution | open => fixed |
2012-04-18 14:00 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4c34b4aeb0476f89790ae0315dd7a02ad1f7a857 [^] |
2012-04-18 14:09 | mirurita | Note Added: 0047707 | |
2012-04-20 15:34 | hgbot | Checkin | |
2012-04-20 15:34 | hgbot | Note Added: 0047803 | |
2012-04-20 16:07 | vmromanos | Note Added: 0047809 | |
2012-04-20 16:07 | vmromanos | Status | resolved => closed |
2012-04-20 16:07 | vmromanos | Fixed in Version | => 3.0MP11 |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047833 | |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047859 | |
Notes |
|
(0047703)
|
hgbot
|
2012-04-18 14:00
|
|
|
|
(0047707)
|
mirurita
|
2012-04-18 14:09
|
|
Testing Plan:
Location output format should be:
--------------------------------
<address1>
<address2>
<postal code> - <city> (<region>)
--------------------------------
Check the output of the function after each of the updates (postgresql/oracle)
select c_location_description('X') from dual;
-- UPDATE c_location set postal=null, city=null, c_region_id = null where c_location_id = 'X'
-- UPDATE c_location set postal='12345', city=null, c_region_id = null where c_location_id = 'X'
-- UPDATE c_location set postal=null, city='city', c_region_id = null where c_location_id = 'X'
-- UPDATE c_location set postal=null, city=null, c_region_id = '108' where c_location_id = 'X'
-- UPDATE c_location set postal='12345', city='city', c_region_id = null where c_location_id = 'X'
-- UPDATE c_location set postal=null, city='city', c_region_id = '108' where c_location_id = 'X'
-- UPDATE c_location set postal='12345', city=null, c_region_id = '108' where c_location_id = 'X'
-- UPDATE c_location set postal='12345', city='city', c_region_id = '108' where c_location_id = 'X' |
|
|
(0047803)
|
hgbot
|
2012-04-20 15:34
|
|
|
|
|
|
|
|
|
|
|
|