[OS-JIRA] Created: (WOL-682) Class resolution issue with WO component validation.

From: Quinton Dolan (JIRA) ("Quinton)
Date: Fri Nov 30 2007 - 10:39:38 EST

  • Next message: Kieran Kelleher: "Clean All and Rebuild fake errors"

    Class resolution issue with WO component validation.
    ----------------------------------------------------

                     Key: WOL-682
                     URL: http://issues.objectstyle.org/jira/browse/WOL-682
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: WOLips 3.3.2.* (nightly build please specify)
                Reporter: Quinton Dolan

    I have a component that happened to share the same class name as one of the entities in my model, just in a different package.

    If I create an instance variable of this entity type in one of my other components any references to this variable in the wod fail to validate, and the context assist shows the completion options as those that belong to the other component class with the same name not the entity class type that the variable is declared with.

    It would appear that the validation process is discarding the package name of the instance variable type and using the basic class name to do the type resolution.

    I realise it's not great to have this sort of class name clash with WO, but in any event the validation should still use the fully qualified type of the declared variable to do the validation should it not?

    If I rename the offending component so its name doesn't clash with the entity the validation works.

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



    This archive was generated by hypermail 2.0.0 : Fri Nov 30 2007 - 10:40:46 EST