Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037495 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | minor | have not tried | 2017-12-16 14:17 | 2017-12-17 17:45 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | shuehner | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a9628e4ed192 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037495: Remove never read variables from pl code | |||||||
Description | Retail code has a few variables in pl code which are written into but never read. > Remove those | |||||||
Steps To Reproduce | run plpgsql_check (>=1.2.2) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||
|
![]() |
|
(0101082) hgbot (developer) 2017-12-16 14:35 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: f1c6e96386f90770308c8b087a48a07443bcdcf1 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat Dec 16 14:28:30 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f1c6e96386f90770308c8b087a48a07443bcdcf1 [^] Issue 37495: Remove never read variables from pl code --- M src-db/database/model/triggers/OBPOS_PRINT_TEMPLATE_MOD_TRG.xml --- |
(0101083) hgbot (developer) 2017-12-16 14:35 |
Repository: erp/pmods/org.openbravo.retail.discounts Changeset: a9628e4ed19282dec8f522362a99f07ec2400739 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Sat Dec 16 14:30:21 2017 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/a9628e4ed19282dec8f522362a99f07ec2400739 [^] Fixed 37495. Remove never read variable from pl code. - kk variable was just never read at all (found by plpgsql_check) - v_x variable is used several times - However last write into that variable by running some sql is useless - as it is done at end of function and then never used (found manually) --- M src-db/database/model/functions/OBDISC_PACK.xml --- |
![]() |
|||
Date Modified | Username | Field | Change |
2017-12-16 14:17 | shuehner | New Issue | |
2017-12-16 14:17 | shuehner | Assigned To | => shuehner |
2017-12-16 14:17 | shuehner | OBNetwork customer | => No |
2017-12-16 14:17 | shuehner | Triggers an Emergency Pack | => No |
2017-12-16 14:17 | shuehner | Relationship added | related to 0037481 |
2017-12-16 14:35 | hgbot | Checkin | |
2017-12-16 14:35 | hgbot | Note Added: 0101082 | |
2017-12-16 14:35 | hgbot | Checkin | |
2017-12-16 14:35 | hgbot | Note Added: 0101083 | |
2017-12-16 14:35 | hgbot | Status | new => resolved |
2017-12-16 14:35 | hgbot | Resolution | open => fixed |
2017-12-16 14:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/a9628e4ed19282dec8f522362a99f07ec2400739 [^] |
2017-12-16 14:36 | shuehner | Review Assigned To | => marvintm |
2017-12-17 17:45 | marvintm | Status | resolved => closed |
2017-12-17 17:45 | marvintm | Fixed in Version | => RR18Q1 |
Copyright © 2000 - 2009 MantisBT Group |