Comments (4)
Bit more digging and simiplifed the tests a little.
The equivalent of this query fails:
select * from salesOrder s,
salesorderdetail d
where d.quantity is not null
AND
(d.description = "A" OR d.productdescription = "B")
wheras the equivalent of this query works OK:
select * from salesOrder s,
salesorderdetail d
where d.description = "A" OR d.productdescription = "B"
So it's the nested Or within the And which seems to break things.
Issue63.zip
The attached Unit tests have the two queries, as FetchXML and as QueryExpressions - two working OK (without the nested filter) and two not.
from fake-xrm-easy.
Hi Ben,
Thank you again, that's interesting.
Maybe is behaving differently when the EntityName property is not specified in the filter (wild guess). I'll setup a unit test to reproduce
from fake-xrm-easy.
Here's a Unit Test. Don't want to commit it because it'll break the build. but here for when you have time to look at it...
Issue63.zip
from fake-xrm-easy.
Hi @bwmodular
Thanks a lot for all this info.
from fake-xrm-easy.
Related Issues (20)
- RetrieveOptionSetRequest doesn't support retrieving option sets by MetadataId HOT 1
- Remove ReleaseNotes from PackageDescription due to a 4000 char limit that will, sooner or later, make the push into Nuget crash
- Wrong ResponsibleType in CloseIncidentRequestExecutor HOT 1
- When using Automatic Registration in PipelineSimulation the new PluginInstancesRepository needs to be defined earlier so it's used by the automatic registration
- Remove unnecessary build steps from build scripts
- Update github actions to allow forks run their own analysis in their own sonar cloud account (free for OSS) HOT 21
- Add SharedVariables to pipeline simulation
- Add support for the new Bulk API (CreateMultiple, UpdateMultiple, UpsertMultiple)
- v2.3.3 is significantly slower than v2.3.0 HOT 4
- Registering a plugin on RetrieveMultiple message in pipeline simulation only works without EntityLogicalName HOT 3
- Whether IXrmFakedContext support ExportPdfDocument message HOT 3
- Change default targetFramework in build scripts to "all" for simplicity
- Faked IServiceProvider should return null for unsupported types HOT 2
- One-to-many relationship metadata is not generated correctly. HOT 4
- RetrieveCurrentOrganisationRequest is missing
- Update build scripts to use a shared packages folder across repositories for package restore
- GetRecordUniqueId crashes when InitializeMetadata is used to initialise an EntityMetadata that doesn't have any Keys, however works fine if using generated early bound types (_context.EnableProxyTypes())
- Improve pattern matching / wildcard support in LIKE operator implementation
- Should support Operators where early bound types for a multi option set (i.e. multiple choice) is generated as an IEnumberable<TEnum> as opposed to an OptionSetValueCollection
- New FetchXml enhancements and previously undocumented features
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fake-xrm-easy.