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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0000425
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminoralways2008-05-26 10:002009-03-18 11:02
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0000425: AD_USER and AD_USER_ROLES should be filtered by AD_USER_ID instead of by AD_CLIENT_ID

DescriptionNow, to decide if a row of AD_USER or AD_USER_ROLES is sourcedata or sampledata, AD_CLIENT_ID is used.

The best solution should be to user AD_USER_ID instead of AD_CLIENT_ID.
Steps To ReproduceJust do an ant export.database
Proposed SolutionThis lines in OpenbravoMetadataFilter.java

addTable("AD_USER", "AD_CLIENT_ID = 0");
addTable("AD_USER_ROLES", "AD_CLIENT_ID = 0");

should be replaced by:

addTable("AD_USER", "AD_USER_ID IN (0,100)");
addTable("AD_USER_ROLES", "AD_USER_ID IN (0,100)");

and similar ones in OpenbravoDataFilter.java should also be replaced.
Tagsdbsm_migrate
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0000329)
marvintm (developer)
2008-05-26 10:50

AD_USER is now filtered by AD_USER_ID. AD_USER_ROLES will continue to be filtered by AD_CLIENT_ID, because otherwise we would change current sourcedata.

- Issue History
Date Modified Username Field Change
2008-05-26 10:00 marvintm New Issue
2008-05-26 10:00 marvintm Assigned To => marvintm
2008-05-26 10:01 marvintm Status new => scheduled
2008-05-26 10:50 marvintm Status scheduled => resolved
2008-05-26 10:50 marvintm Resolution open => fixed
2008-05-26 10:50 marvintm Note Added: 0000329
2008-11-26 14:08 psarobe Status resolved => closed
2008-12-18 12:38 jpabloae Sticky Issue No => Yes
2008-12-18 12:39 jpabloae Sticky Issue Yes => No
2008-12-18 12:39 jpabloae Tag Attached: dbsm_migrate
2008-12-18 12:41 jpabloae Project @4@ => Openbravo ERP
2008-12-18 12:41 jpabloae Category => Y. DBSourceManager
2009-03-18 11:02 anonymous sf_bug_id 0 => 2691314


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker