[JIRA] Commented: (NXS-908) Fix schemas available on Document doc type

2012-01-16 Thread Anahide Tchertchian (JIRA NUXEO)

[ 
https://jira.nuxeo.com/browse/NXS-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=109734#comment-109734
 ] 

Anahide Tchertchian commented on NXS-908:
-

fix CMF tests:
2.5: https://hgpriv.nuxeo.org/nuxeo-studio/rev/78a290230f46
2.6: https://hgpriv.nuxeo.org/nuxeo-studio/rev/8e42f1c2cb43


> Fix schemas available on Document doc type
> --
>
> Key: NXS-908
> URL: https://jira.nuxeo.com/browse/NXS-908
> Project: Nuxeo Studio
>  Issue Type: Bug
>Affects Versions: 2.5
>Reporter: Anahide Tchertchian
>Assignee: Anahide Tchertchian
> Fix For: 2.5.1, 2.6
>
>
> The "Document" document type contribution is defined to hold the "uid", 
> "dublincore" and "common" schemas but the definition on Nuxeo side does not 
> include them => they should be added every time they're missing, not only 
> when the direct parent type is "Document".
> Otherwise, for instance, a document that inherits Folder in Studio shows that 
> it has all these schemas, but the generated type does not really hold them.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


___
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets


[JIRA] Commented: (NXS-908) Fix schemas available on Document doc type

2012-01-12 Thread Anahide Tchertchian (JIRA NUXEO)

[ 
https://jira.nuxeo.com/browse/NXS-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=109419#comment-109419
 ] 

Anahide Tchertchian commented on NXS-908:
-

Several options available:
1. finer resolution of what schemas should be added by default at build time. 
Problem is that Studio behaves as is the Folder doc type had the "uid" schema 
for instance, which is not true.

2. remove default schemas for Document to match Nuxeo behaviour, and add the 
default schemas at creation (or make it impossible to remove them?) + make a 
migration script to add these schemas on existing doc types.

> Fix schemas available on Document doc type
> --
>
> Key: NXS-908
> URL: https://jira.nuxeo.com/browse/NXS-908
> Project: Nuxeo Studio
>  Issue Type: Bug
>Affects Versions: 2.5
>Reporter: Anahide Tchertchian
>Assignee: Anahide Tchertchian
> Fix For: 2.5.1
>
>
> The "Document" document type contribution is defined to hold the "uid", 
> "dublincore" and "common" schemas but the definition on Nuxeo side does not 
> include them => they should be added every time they're missing, not only 
> when the direct parent type is "Document".
> Otherwise, for instance, a document that inherits Folder in Studio shows that 
> it has all these schemas, but the generated type does not really hold them.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


___
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets