[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6928) XModel clears almost all the problem markers in XMLs.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Fri Aug 27 10:41:12 EDT 2010


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

Viacheslav Kabanovich resolved JBIDE-6928.
------------------------------------------

    Resolution: Done


> XModel clears almost all the problem markers in XMLs.
> -----------------------------------------------------
>
>                 Key: JBIDE-6928
>                 URL: https://jira.jboss.org/browse/JBIDE-6928
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common
>    Affects Versions: 3.2.0.Beta
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>            Priority: Blocker
>             Fix For: 3.2.0.Beta
>
>
> 1. Create any CDI projects.
> 2. Create new beans.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <beans>
> 	<alternatives>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 		<class>org.jboss.jsr299.tck.tests.policy.broken.same.type.twice.Cat</class>
> 	</alternatives>
> </beans>
> 3. Save it.
> If you repeat it many times then you can see that CDI problem markers sometimes disappear.
> The problem is in org.jboss.tools.common.model.markers.ResourceMarkers.isOwnedMarker(IMarker m)
> It clears almost all the markers even if they were added by other validators. If a validator added markers before XModel validation then the markers will be removed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list