Results 1 to 3 of 3

Thread: Problem with BaseModel and reference to other BaseModel class

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    8
    Vote Rating
    0
      0  

    Question 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 Images
    Attached Files 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
    Sencha Premium Member
    Join Date
    Sep 2007
    Posts
    13,976
    Answers
    60
    Vote Rating
    131
      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
      0  

    Default

    Danke

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

    Kind regards
    Jan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •