Are dataset errors from the server merged into the client dataset
 
Forums / SmartComponent Library - Developer Forum / Are dataset errors from the server merged into the client dataset

Are dataset errors from the server merged into the client dataset

6 posts, 0 answered
  1. Carl Verbiest
    Carl Verbiest avatar
    67 posts
    Registered:
    12 Oct 2018
    03 Feb 2020
    Link to this post
    Does the SmartBusinessEntityAdapter copy the error strings, as set in validatedata using Consultingwerk.Util.DatasetHelper:AddErrorString, back to the client dataset ?

    If not what would be the place where we could add that ourselves ?

    I'm trying to use the Ultragrid Error display capabilities


  2. Mike Fechner
    Mike Fechner avatar
    342 posts
    Registered:
    14 Sep 2016
    03 Feb 2020 in reply to Carl Verbiest
    Link to this post
    I don't think this is possible right now. The exception we raise contains a single record identifier (first record with errors) and all validation messages.

    If you log an enhancement request, we can consider adding the required foundation. 
  3. Carl Verbiest
    Carl Verbiest avatar
    67 posts
    Registered:
    12 Oct 2018
    04 Feb 2020 in reply to Mike Fechner
    Link to this post
    Ok, I will.
    Could you give me some pointers where it should/could be implemented.
    I may be able to create a proof of concept from that.
  4. Mike Fechner
    Mike Fechner avatar
    342 posts
    Registered:
    14 Sep 2016
    04 Feb 2020
    Link to this post
    Not without seeking myself ....

    And I'd rather prefer to receive requirements than a solution we may have to refactor ourselves (and if it's just to uppercase the code). 
  5. Carl Verbiest
    Carl Verbiest avatar
    67 posts
    Registered:
    12 Oct 2018
    04 Feb 2020 in reply to Mike Fechner
    Link to this post
    SCLSUP-246 created (and I can do UPPERCASE if needed )
  6. Mike Fechner
    Mike Fechner avatar
    342 posts
    Registered:
    14 Sep 2016
    04 Feb 2020 in reply to Carl Verbiest
    Link to this post
    I never said it's hopeless :)
6 posts, 0 answered