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

user -> login fails on FileMaker 12+ #116

Open
stevepiercy opened this issue Jul 21, 2015 · 3 comments
Open

user -> login fails on FileMaker 12+ #116

stevepiercy opened this issue Jul 21, 2015 · 3 comments

Comments

@stevepiercy
Copy link
Member

FileMaker 12 syntax has changed to not require an extra "=" when performing a query. So I inserted a temporary workaround in line 422:

if(#db -> 'isfilemaker') => {
    // FileMaker 12 and later syntax
    #searchparams -> merge(array(-op='eq', .'userfield' = #_username))
    // FileMaker 11 and earlier syntax
    //                  #searchparams -> merge(array(-op='eq', .'userfield' = '="' + #_username + '"'))
else

This ought to be handled better by automatically detecting the version of FileMaker if at all possible.

@stevepiercy
Copy link
Member Author

Parse the XML result from this curl or include_url with authentication.
https://hostname/fmi/xml/FMPXMLRESULT.xml?-db=FMServer_Sample

<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">
<ERRORCODE>4</ERRORCODE>
<PRODUCT BUILD="01/15/2015" NAME="FileMaker Web Publishing Engine" VERSION="13.0.9.905"/>

@jolle-c
Copy link
Contributor

jolle-c commented Jul 25, 2015

The present Knop for Lasso 9 build has been poorly tested on Filemaker. As in not tested at all.

HDB
Jolle

@stevepiercy
Copy link
Member Author

I've tested some of Knop for Lasso 9 with FileMaker 12+, and so far it works except as noted in the workaround above. That's not really a Knop issue, but a Lasso 9/FM 12+ issue: FM changed the syntax or how it parses the request, and LassoSoft has not adapted its FM connector to send a properly formed request.

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