Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executeFetchXml fails #30

Closed
wiese42 opened this issue Aug 26, 2018 · 2 comments
Closed

executeFetchXml fails #30

wiese42 opened this issue Aug 26, 2018 · 2 comments

Comments

@wiese42
Copy link

wiese42 commented Aug 26, 2018

pagenumber replacer produces bad results for a fetch statement like this:
...
works if I add "." and "-" to the pattern:
fetchXml = fetchXml.replace(/^(<fetch[\w\d\s'"=.-]+)/, replacementString);
note that this is not a suggested fix but a quick workaround for my special use case.

@AleksandrRogov
Copy link
Owner

Thank you for submitting the issue.
What's your special use case? How can I test it?
Thanks

@wiese42
Copy link
Author

wiese42 commented Aug 27, 2018

fetch locked like this:
<fetch mapping="logical" output-format="xml-platform" version="1.0" distinct="false">
both output_format underscore and 1.0 dot caused problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants