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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010587
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2009-09-14 19:142009-09-23 00:00
ReportervmromanosView Statuspublic 
Assigned Torafaroda 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6
OS VersionUbuntu 8.04Database version8.3.7Ant version1.7.0
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010587: Some alerts in sourcedata are wrong

DescriptionThe SQL queries of some alerts provided in sourcedata are wrong. As a result, some other well-written alerts are not executed.

The wrong alerts I've detected are:
1- "Columns with search reference and reference value null". It is necessary to change: WHERE AD_REFERENCE_ID = 30 by WHERE AD_REFERENCE_ID = '30'
2- "Process Execution Failed". The view ad_process_run_v doesn't exist

I haven't reviewed more, so it's possible that there are more alerts wrong.
Steps To ReproduceSchedule the alert background process for Openbravo Admin and read the error log
Proposed SolutionReview all the queries provided with sourcedata and ensure they are working fine
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 00106872.50MP8 closedrafaroda Some alerts are wrong defined 

-  Notes
(0020195)
rafaroda (developer)
2009-09-18 12:30

"Vendor or Customer BPs without Bill To address" SQL is wrong, replace it by:

select c_bpartner_id as referencekey_id,
       name as record_id,
       0 as ad_role_id,
       null as ad_user_id,
       name ||'has not bill to address' as description,
       'Y' as isActive,
        ad_org_id,
        ad_client_id,
        now() as created,
        0 as createdBy,
        now() as updated,
        0 as updatedBy
  from c_bpartner bp
where (isvendor='Y' or iscustomer='Y')
and not exists (select 1
                  from c_bpartner_location l
                where l.c_bpartner_id = bp.c_bpartner_id
                and isbillto='Y')
(0020257)
rafaroda (developer)
2009-09-22 10:55

This issue will be fixed when fixing 0010687

- Issue History
Date Modified Username Field Change
2009-09-14 19:14 vmromanos New Issue
2009-09-14 19:14 vmromanos Assigned To => rafaroda
2009-09-18 12:28 rafaroda Status new => scheduled
2009-09-18 12:30 rafaroda Note Added: 0020195
2009-09-22 10:55 rafaroda Relationship added duplicate of 0010687
2009-09-22 10:55 rafaroda Status scheduled => closed
2009-09-22 10:55 rafaroda Note Added: 0020257
2009-09-22 10:55 rafaroda Duplicate ID 0 => 10687
2009-09-22 10:55 rafaroda Resolution open => duplicate
2009-09-23 00:00 anonymous sf_bug_id 0 => 2864617


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker