Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036441
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Analyticsminorhave not tried2017-07-06 17:492017-07-17 09:35
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision79857c7405e1
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Toalostale
Regression introduced in release
Summary

0036441: Modularity (needs module in development) check for cube dimensions is not working correctly

DescriptionThe obanaly_cube_dim_mod_Trg triggers is not working correctly.

It has a coalesce (:OLD.line, '.') while the datatype of that column is numeric.

That makes the trigger fail to work correctly when it should reject an eject with message to need a module in development instead of shows some SQLException about the data type mismatch.
Steps To ReproduceInstall analytics module
Go to Cube definition window and select a record having 'cube dimension' entries in its child tab.
Try to edit edit existing cube dimension entry without the module in development.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036452 closedrqueralta Retail Modules 2 warnings found in pl code by plpgsql_check 

-  Notes
(0097922)
hgbot (developer)
2017-07-06 18:01

Repository: erp/pmods/org.openbravo.client.analytics
Changeset: 79857c7405e161f4a61bb261874e31c402a78fd4
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Thu Jul 06 18:01:24 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/79857c7405e161f4a61bb261874e31c402a78fd4 [^]

Fixed 36441. Fix modularity trigger typ mismatch.

Fix type-mismatch in coalesce statement by using 0 and not '.' for a numeric
column. Also remove a couple of unused declared variables to get the module
clean as per plpgsql_check warnings.

---
M src-db/database/model/triggers/OBANALY_CUBE_DIM_MOD_TRG.xml
M src-db/database/model/triggers/OBANALY_REPORT_QUERY_MOD_TRG.xml
M src-db/database/model/triggers/OBANALY_WIDGT_ANALYTIC_MOD_TRG.xml
---
(0098094)
alostale (manager)
2017-07-17 09:35

reviewed

- Issue History
Date Modified Username Field Change
2017-07-06 17:49 shuehner New Issue
2017-07-06 17:49 shuehner Assigned To => platform
2017-07-06 17:50 shuehner Assigned To platform => shuehner
2017-07-06 18:01 hgbot Checkin
2017-07-06 18:01 hgbot Note Added: 0097922
2017-07-06 18:01 hgbot Status new => resolved
2017-07-06 18:01 hgbot Resolution open => fixed
2017-07-06 18:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/79857c7405e161f4a61bb261874e31c402a78fd4 [^]
2017-07-10 18:06 shuehner Relationship added related to 0036452
2017-07-14 15:06 alostale Review Assigned To => alostale
2017-07-17 09:35 alostale Note Added: 0098094
2017-07-17 09:35 alostale Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker