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

SOA Model Implementation #125

Open
mdutoo opened this issue Aug 23, 2012 · 2 comments
Open

SOA Model Implementation #125

mdutoo opened this issue Aug 23, 2012 · 2 comments

Comments

@mdutoo
Copy link
Member

mdutoo commented Aug 23, 2012

Implement final SOA model in Nuxeo, along draft Nuxeo type definition following specification.

Nuxeo issues

TODO tdelprat help solve them

  • slashes are not allowed in document.name. For now, workaround : replaced by '-'. I understand it's bad practice, but is there any way ? Else if we store it in another (custom) property, will it be the same performance-wise (indexed field in db...) ?
  • live document proxy do not support Folderish : adding a document in a proxy folder does not add it in the proxied one, and asking for children of a proxy folder does not return those of the proxied one
@tiry
Copy link
Member

tiry commented Aug 23, 2012

Hi,

Indeed slashes are not allowed in the name propertY because the name property is part of the path !
There is no simple way to workaround that.

You can use title or any another property to store whatever text you need.
If you need to search on that property simply create an Index in the db ...

As for the proxy stuff : indeed the proxy to a folderish item does not return the children of the target doc.
That exactly the reason why I asked for use case and added a mockup for using a pageprovider for the getchidlren method ...

Just give me a clean test case of what you need to do and I'll see what I can do ...

@mdutoo
Copy link
Member Author

mdutoo commented Aug 23, 2012

  • slashes : OK. Is there any simpler way to create an index in the db than doing it as usual in ex. postgresql ?
  • folderish proxy : OK we will !

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

No branches or pull requests

2 participants