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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035393
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2017-03-01 10:262017-03-02 14:06
ReporteraferrazView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
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

0035393: IN clause in view not properly exported using postgresql

DescriptionIN clause in view not properly exported using postgresql
Steps To ReproduceOpen c_invoice_candidate_v view with pgAdmin.

Change in the view:
(o.docstatus = 'CO' OR o.docstatus = 'CL' OR o.docstatus = 'IP')
with:
o.docstatus IN ('CO', 'CL', 'IP')

Save it and run ant export.database. Check view is correctly exported.

Revert previous change.

Change in the view:
AND ( dt.docsubtypeso <> 'ON'
AND dt.docsubtypeso <> 'OB'
AND dt.docsubtypeso <> 'WR' )
with:
AND dt.docsubtypeso NOT IN ('ON', 'OB', 'WR')

Save it and run ant export.database. Check view is correctly exported.

Revert previous change.

Now, make both changes together in the view, export them and check they are not correctly exported:

Instead of:
o.docstatus IN ('CO', 'CL', 'IP')
we get:
(o.docstatus IN ('CO', 'CL', 'IP']))

Instead of:
AND dt.docsubtypeso NOT IN ('ON', 'OB', 'WR')
we get:
(dt.docsubtypeso <> ALL (ARRAY['ON', 'OB', 'WR'))
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of design defect 0029492 closedalostale Wrong export of a view 
related to defect 0035341 closedmcobas Wrong orders shown in "Create Invoices From Orders" window 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2017-03-01 10:26 aferraz New Issue
2017-03-01 10:26 aferraz Assigned To => platform
2017-03-01 10:26 aferraz Modules => Core
2017-03-01 10:26 aferraz Triggers an Emergency Pack => No
2017-03-01 10:28 aferraz Relationship added related to 0035341
2017-03-02 14:06 alostale Relationship added duplicate of 0029492
2017-03-02 14:06 alostale Status new => closed
2017-03-02 14:06 alostale Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker