Comments (6)
Ui, that's a tough question. I would avoid under any circumstances to have to write our own JSON parser ;)
Can we set a SameNamePropertyNode with JSOP? (not sure)
Couldn't we just say: It's not supported? As long as one can't save that with jackalope, it's a fair compromise and maybe mark it with OPTION_NODE_AND_PROPERTY_WITH_SAME_NAME_SUPPORTED = false
from jackalope-jackrabbit.
i think we can write, because jackrabbit can do it.
i fully agree we do not want to write our own json parser! we could try to fix the jackrabbit json with my proposed workaround (distinguish nodes from properties) but so far i have no reaction from the jackrabbit mailinglist if they would be ok to have a fix that breaks old clients.
if we don't see who would fix jackrabbit, the new capability would at least be a clean solution until there is a better one. but when importing xml documents, we have a problem with that (which was probably one of the reasons for this feature). we could make it a capability of the transport though, as for doctrine-dbal this should not be an issue (well, if we fix the format of serialized nodes to make it possible)
from jackalope-jackrabbit.
seems to me like we really should push jackrabbit to get this mess fixed ..
from jackalope-jackrabbit.
one way or the other we should move the json parsing to the transport and pass a simple array structure to the node i think. its different for doctrine anyways. and then we could just strpos for "toast":{} (all property names) in the returned json until jackrabbit fixed this. not elegant but easier than changing jackrabbit.
from jackalope-jackrabbit.
btw ... is this something we should bring up on the oak mailing list? seems wrong to require custom json parsers.
from jackalope-jackrabbit.
its not just custom json parsers, its invalid json and relying on a non-strict behaviour +implementation details of their parser. as mentioned above, it was discussed on the jackrabbit-dev list but i think it would be good to post again to the jsop list as i am not sure if the people there are aware and intent on solving it. there was no reply to my suggestion: http://www.mail-archive.com/[email protected]/msg28072.html
from jackalope-jackrabbit.
Related Issues (20)
- Query features HOT 1
- When dropping symfony < 2.5 support, switch from DialogHelper to QuestionHelper HOT 1
- Request with too big header section is sent on big update HOT 8
- Wrong workspace in answer from server: <?xml version="1.0" encoding="UTF-8" standalone="no"?> HOT 7
- Path escape for query-builder HOT 9
- LogicException: Tried to start a request on a closed transport. HOT 6
- Performance issues HOT 1
- setMixins fails with referenced nodes HOT 10
- Response says forbidden on Jackrabbit >= 2.12.4 HOT 21
- Workspace import does not work with protected version properties HOT 6
- Can't query user defined date properties HOT 6
- Bad performance quering thousands of nodes HOT 4
- getNodeTypes should not go to backend on repeated calls
- Not longer working with jackalope 1.3.6 HOT 2
- Converts Double props with integer values to Long HOT 2
- Cannot save after error saying that the node must be saved to checkin the node HOT 3
- Asyncronicity issues with jackrabbit HOT 3
- Very long pause when running intensive tests HOT 5
- jackrabbit oak support HOT 12
- How to scale/cluster jackrabbit? HOT 2
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 jackalope-jackrabbit.