[jbosstools-issues] [JBoss JIRA] (JBIDE-8445) Do not create markers at internal attribute validation by XModel

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Oct 31 13:35:02 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich updated JBIDE-8445:
-----------------------------------------

    Description: 
This framework needs improvement/refactoring. It was created before WTP validation framework and is not integrated into it. In many cases problem markers created by our validation duplicate markers created by WTP validation. 
It is ok to have some internal validation for model consistency, but it should not interfere with the standard framework. Markers should be created by delegates of the validation job. 
Now, trees and forms of JBoss Tools editors recognize markers created by XModel and display them. We may try to replace this by
1) either to be able to bind any markers with model objects
     Profit: that would immensely improve displaying problems in tree/form in JBoss Tools editors
     Possible Minus: It may be very resource consuming;
2) or to store the found problems as internal objects, not as markers, and refactor editors/views to displaying them
    Profit: Preserve feature at the current level
    Minus: Developing internal framework that cannot be reused;
3) or just drop it 
    Profit: No need for development, just do not create markers.
    Minus: Problems in tree/form in JBoss Tools editors will not be displayed. Also, other possible unexpected aftermath should be addressed to.
    

  was:Besides, this framework needs improvement/refactoring. It was created before WTP validation framework and is not integrated into it. In many cases problem markers created by our validation duplicate markers created by WTP validation. 


    
> Do not create markers at internal attribute validation by XModel
> ----------------------------------------------------------------
>
>                 Key: JBIDE-8445
>                 URL: https://issues.jboss.org/browse/JBIDE-8445
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 3.2.0.CR1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.x
>
>
> This framework needs improvement/refactoring. It was created before WTP validation framework and is not integrated into it. In many cases problem markers created by our validation duplicate markers created by WTP validation. 
> It is ok to have some internal validation for model consistency, but it should not interfere with the standard framework. Markers should be created by delegates of the validation job. 
> Now, trees and forms of JBoss Tools editors recognize markers created by XModel and display them. We may try to replace this by
> 1) either to be able to bind any markers with model objects
>      Profit: that would immensely improve displaying problems in tree/form in JBoss Tools editors
>      Possible Minus: It may be very resource consuming;
> 2) or to store the found problems as internal objects, not as markers, and refactor editors/views to displaying them
>     Profit: Preserve feature at the current level
>     Minus: Developing internal framework that cannot be reused;
> 3) or just drop it 
>     Profit: No need for development, just do not create markers.
>     Minus: Problems in tree/form in JBoss Tools editors will not be displayed. Also, other possible unexpected aftermath should be addressed to.
>     

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list