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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027138
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2014-07-21 12:342022-02-01 08:05
ReporterrafademiguelView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
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

0027138: Reference Table set as "Link to Parent Column" does not work.

DescriptionUsing a column that has reference "Table" and is set as "Link to Parent Column" does not apply the filter. You see all the records and not only the children records.
Steps To Reproduce- Create a column with Reference Table
- Use as "Link to Parent Column"
- Use the table in a sub tab linked to the parent
- Observe that in the sub tab you see all the records not only the children
Proposed SolutionAs a workaround you can use the SQL/HQL WhereClause in the tab to filter the records properly
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0081665)
alostale (manager)
2015-11-10 16:47

There are some cases in core:

select w.name, subtab.name, parenttab.name, c.columnname
from ad_column c, ad_tab subtab, ad_window w, ad_tab parenttab
where c.ad_reference_id = '18'
and c.isparent='Y'
and subtab.ad_table_id = c.ad_table_id
and subtab.tablevel > 0
and w.ad_window_id = subtab.ad_window_id
and parenttab.ad_tab_id = (select min(ad_tab_id)
                            from ad_tab t, ad_table tb
                            where t.ad_window_id = w.ad_window_id
                            and t.tablevel = subtab.tablevel-1
                            and t.seqno < subtab.seqno
                            and c.columnname ilike tb.tablename||'_id')

- Issue History
Date Modified Username Field Change
2014-07-21 12:34 rafademiguel New Issue
2014-07-21 12:34 rafademiguel Assigned To => alostale
2014-07-21 12:34 rafademiguel Modules => Core
2014-07-21 12:34 rafademiguel Triggers an Emergency Pack => No
2015-03-17 14:38 alostale Assigned To alostale => platform
2015-11-10 16:47 alostale Note Added: 0081665
2015-11-10 16:47 alostale Status new => acknowledged
2022-02-01 08:05 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker