-
Notifications
You must be signed in to change notification settings - Fork 28
Sample data not loaded correctly? #92
Comments
now I have two observations:
In the header:
And indeed there is no gd-ui-jsonexplorer.css there... there is a angular-json-explorer.js however... |
Sounds like you are missing latest bug fixes. You need to install slush-marklogic-node directly from github as described here: #68 Install, and then recreate the project.. |
That will also fix the json-explorer issue. You can ignore the jshint warning about js syntax.. |
hi grtjn, |
sorry I seem not to be able to find a dev branch on this project? Latest is release 0.1.1 ? |
There is no dev branch, just master. Last tag and npm release is 0.1.1, but master contains latter bugfixes. Use this command to install directly from github:
After that, recreate the project with |
UPDATE I used roxy dev branche in the slection when setting up the app hmmm application setup again but still no from-json.xqy in the transforms dir only xsl files so:
Seems the transform xqy files are not generated from template? |
I looked at from-json.xsl and to-json.xsl they are quite different. If I understand correctly roxy creates the transforms from these xsl files right? Seems roxy only created a transform from the to-json.xsl actually and not from the from-json.xsl ? |
Did you run the sudo command I gave above before rerunning slush marklogic-node to create a new project? |
And if running against MarkLogic 8, you won't be needing that json transform at ingest. Just skip the transform.. |
yep did sudo npm install from github, made changes to port etc app came up all right with gulp etc... ok skipping the transform did it... now the data loads as txt ... playing around with the mlcp commands will make things tidy I guess...
|
You may not have noticed, but the latest README doesn't mention the transform options anymore: Also note that when running mlcp through Roxy, username, password, host and port are superfluous.. |
Hi guys,
I tried to create a sample application today, straight from the readme.
Al fine untill the data load step...
My setup is that I have a ML8 server and a laptop. I installed a new project with slush on my laptop.
Added a hugo.properties to reflect my remote ML8 server.
Bootstrapped and deployed the app, with browser connected to the app endpoint, app shows up!
Now loading the sample data I got into trouble.
I did this:
Now in the documentation it says there should be a from-json.xqy in the /transform dir ... I looked for 'from-json.xqy' in /transforms but only found a 'to-json.xqy' there... seems these transforms are derived from the template that uses xslt to generate these transforms?
The to-json looks like this:
intuition/ignorance mode from here
I changed the transform-from-json to transform-to-json in this to-json.xqy and the mlcp line to use transform/to-json.xqy ... now the data loads but no search results
should there be a from-json.xqy in /transforms ?
The text was updated successfully, but these errors were encountered: