[
https://jira.nuxeo.com/browse/NXS-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=94346#comment-94346
]
Anahide Tchertchian commented on NXS-520:
-----------------------------------------
layout validation is done, with improvements to handle warnings (if needed) and
specify client information to place additional information on the page about
were error can be fixed:
https://hgpriv.nuxeo.org/nuxeo-studio/rev/a83d20785396
https://hgpriv.nuxeo.org/nuxeo-studio/rev/dd54df6ccdf8
https://hgpriv.nuxeo.org/nuxeo-studio/rev/01d5fb798745
https://hgpriv.nuxeo.org/nuxeo-studio/rev/c26e0ff4d073
https://hgpriv.nuxeo.org/nuxeo-studio/rev/9ac01232c9f8
https://hgpriv.nuxeo.org/nuxeo-studio/rev/613acd0a7b58
TODO:
- fix red star appearing on a widget with errors: it is sometimes displayed at
the wrong place (when there are empty cells) + use a better icon
- validate other parts of the content view, advanced search and document
configurable tabs
- UI improvements: errors appearing on the feature type screen are not very
lisible, maybe we should remove them or display them differently
- launch validation when removing a resource or editing a registry entry
> Implement layouts validation in document layout, content view layouts,
> advanced search and Step layouts
> -------------------------------------------------------------------------------------------------------
>
> Key: NXS-520
> URL: https://jira.nuxeo.com/browse/NXS-520
> Project: Nuxeo Studio
> Issue Type: Sub-task
> Reporter: Alain Escaffre
> Assignee: Anahide Tchertchian
> Priority: Critical
> Fix For: 2.1
>
>
> If on a widget dropped in a layout editor, a schema or a property is
> referenced but doesn't exist, the document, or the search feature, the
> content view, ... should be flaged as with one or more errors, as well as
> (ideally) the corresponding tab in the editor, and finally each of the
> erroneous widgets, with a message such as "property 'semper:happy' does not
> exist ".
> Ideally,queries in content view definitions should also be parsed for
> schema:field names
> We would also like to check if the widget chosen is consistent with the type
> of the property (both the fact of being multi-valued and the raw type).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets