1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
    Gahgah is on a distinguished road

      0  

    Question Answered: Problem with BaseModel and reference to other BaseModel class

    Answered: Problem with BaseModel and reference to other BaseModel class


    Hello,

    I'm currently having a problem with to Classes which both extend BaseModel. CustomerDTO has an Attribute of the type StandortDTO (I've attatched both classes). Setting the StandortDTO works fine (I added a Screenshot which show an instance of CustomerDTO where the Standort DTO has been set.
    The problem I'm currently not able to solve is that my RPC calls fail. I get a SerializationException without any message or stacktrace.
    Any help would be great.

    Thanks in advance.
    Best regards
    Jan
    Attached Images
    Attached Files

  2. Make sure your RPC code somewhere references the StandortDTO class. This can be for example an unsed field in your CustomerDTO class:

    Code:
    private StandortDTO unusedStandortDTO;

  3. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Answers
    60
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Make sure your RPC code somewhere references the StandortDTO class. This can be for example an unsed field in your CustomerDTO class:

    Code:
    private StandortDTO unusedStandortDTO;

  4. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
    Gahgah is on a distinguished road

      0  

    Default


    Danke

    I thought StandortDTO in my method signature would be enough. Thanks for helping!

    Kind regards
    Jan

Thread Participants: 1