karishma-tirthani / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

Method findEdmAssociation(String fqName) is checking on name instead of fullyQualifiedName #228

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Method findEdmAssociation(String fqName) in class EdmDataServices checks on the 
name attribute of the associations instead of the fullyQualifiedName to find an 
association. 

What version of the product are you using? On what operating system?
odata4j version 0.8.0-SNAPSHOT on Windows 7

Original issue reported on code.google.com by andyfich...@gmail.com on 14 Nov 2012 at 7:50

GoogleCodeExporter commented 8 years ago
assoc.getName().equals(fqName) needs to be 
assoc.getFQNamespaceName().equals(fqName)
like its done in findEdmEntityType(String fqName) or findEdmComplexType(String 
complexTypeFQName)

Original comment by andyfich...@gmail.com on 14 Nov 2012 at 8:00

GoogleCodeExporter commented 8 years ago

Original comment by stephan....@googlemail.com on 15 Nov 2012 at 7:29

GoogleCodeExporter commented 8 years ago

Original comment by stephan....@googlemail.com on 19 Nov 2012 at 1:06

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for the fast response and the fix. 

Original comment by andyfich...@gmail.com on 19 Nov 2012 at 7:12