Strange Class resolution issue with WO component validation.

From: Q (qdola..mail.com)
Date: Fri Nov 30 2007 - 10:17:52 EST

  • Next message: Quinton Dolan (JIRA): "[OS-JIRA] Created: (WOL-682) Class resolution issue with WO component validation."

    I have noticed an odd validation problem in wolips with one of my
    components.

    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.

    -- 
    Seeya...Q
    

    Quinton Dolan - qdola..mail.com Gold Coast, QLD, Australia (GMT+10) Ph: +61 419 729 806



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