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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0004636
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminoralways2008-08-18 17:222008-12-15 19:28
ReporterrafarodaView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision6434
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.5
OS VersionUbuntu 7.10Database version8.3Ant version1.7
Product VersionpiSCM revision6378 
Merge Request Status
Review Assigned To
OBNetwork customerNo
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0004636: Process Class action do not correspond with parent type

DescriptionWhen defining a Report & Process (Application Dictionary || Report and Process || Report & Process), one can say if it is a report or a Jasper report. In the case that none of these options is ticked, Openbravo ERP assumes that it is a process. When defining the Process Class (Application Dictionary || Report and Process || Report & Process >> Process Class), 'Action' field do not correspond with header's one: 'Action' field value should be 'Report' (R) when header is a report or a Jasper report and 'Process' (P) otherwise.

There are wrong data for 'Action' column within AD_MODEL_OBJECT.xml file.
Steps To ReproduceExecute the following queries:

select mo.ad_model_object_id, mo.action, (CASE WHEN p.IsReport='Y' OR p.IsJasper='Y' THEN 'R' ELSE 'P' END) as parentaction
from ad_process p, ad_model_object mo
where mo.ad_process_id = p.ad_process_id and mo.action != (CASE WHEN p.IsReport='Y' OR p.IsJasper='Y' THEN 'R' ELSE 'P' END);

select ad_process.ISJASPER, ad_process.ISREPORT, ad_process.NAME, ad_process.JRNAME, action, ad_model_object.classname
from ad_process, ad_model_object
where ad_process.ad_process_id = ad_model_object.ad_process_id
order by action;
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0004549 closedrafaroda Process class tab should have a default be not editable and have a fixed value for the action 
depends on defect 00046582.50 closedvmromanos There are some reports which don't have a report field checked 

-  Notes
(0008638)
svnbot (viewer)
2008-08-20 16:47

Repository: openbravo
Revision: 6434
Author: vmromanos
Date: 2008-08-20 16:47:13 +0200 (Wed, 20 Aug 2008)

Fixed bug 0004636: Modified the ad_model_object table. The Action field inside the Process Class now corresponds with the parent type.

---
U branches/r2.5x/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6434&sc=1 [^]

- Issue History
Date Modified Username Field Change
2008-08-18 17:22 rafaroda New Issue
2008-08-18 17:22 rafaroda Assigned To => cromero
2008-08-18 17:22 rafaroda sf_bug_id 0 => 2057761
2008-08-18 17:22 rafaroda OBNetwork customer => No
2008-08-18 17:22 rafaroda Regression testing => No
2008-08-18 17:22 rafaroda Relationship added related to 0004549
2008-08-20 10:04 iperdomo Status new => scheduled
2008-08-20 10:04 iperdomo Assigned To cromero => vmromanos
2008-08-20 10:04 iperdomo fix_in_branch => trunk
2008-08-20 13:22 vmromanos Relationship added depends on 0004658
2008-08-20 16:47 svnbot Checkin
2008-08-20 16:47 svnbot Note Added: 0008638
2008-08-20 16:47 svnbot Status scheduled => resolved
2008-08-20 16:47 svnbot Resolution open => fixed
2008-08-20 16:47 svnbot svn_revision => 6434
2008-12-15 19:28 psarobe Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker