[BUG] Please Check ORM standalone demo

Home Forums kbmMW [BUG] Please Check ORM standalone demo

Tagged: ,

Viewing 3 reply threads
  • Author
    Posts
    • #53476

      Hi in latest version of kbMMW, som,e demos has some design time issues, like the one I have reported fro SQLite connection. Alos the ORM standalone demo has issues, it doesnt allow the ‘insert of recorfs’ it throws errors.

    • #53486
      kimbomadsen
      Keymaster

      I suppose you see a unique key constraint. Its as designed.

      I think you most likely have already inserted the items earlier on. The steps for the demo, is to create table, add data, and afterwards delete table or purge table.

      If you purge table it will be able to add the records again.

      • #53489

        Hi wel it seesm my confussion was because somsde exceptions they occur when debugging.

        —————————
        Debugger Exception Notification
        —————————
        Project Project5.exe raised exception class EkbmMWException with message ‘Modify failed’.
        —————————
        Break Continue Help
        —————————

        But yes, Yes as you say, they are inserted wihout problems.

        But after closing the app it throw some memory leak reports:

        —————————
        Unexpected Memory Leak
        —————————
        An unexpected memory leak has occurred. The unexpected small block leaks are:

        1 – 12 bytes: Unknown x 6

        13 – 20 bytes: UnicodeString x 6

        29 – 36 bytes: TValueDataImpl x 6

        37 – 44 bytes: UnicodeString x 2

        45 – 52 bytes: TAccount x 3, TkbmMWAutoValue x 6, UnicodeString x 1

        77 – 84 bytes: UnicodeString x 5

         

    • #53490

      Also when testing the button: ‘Query person with accounts’ it throws the exception:

      —————————
      Debugger Exception Notification
      —————————
      Project Project5.exe raised exception class ENonPublicType with message ‘Type ‘TObjectList<uData.TPersonWithAccounts>’ is not declared in the interface section of a unit’.
      —————————
      Break Continue Help
      —————————

      the buttons ‘Query list #1’ also:

      —————————
      Project5
      —————————
      Type ‘TObjectList<uData.TPerson>’ is not declared in the interface section of a unit.
      —————————
      OK
      —————————

      I’km using latest kbmmw and delphi 10.3.1

       

    • #53494

      The error: Type ‘XXXXX’ is not declared in the interface section of a unit. seems to be fixed if your declare a Class in the interface section like:

      TPersonObjectList = TObjectList<TPerson>

      Is this an introduced BUG? or maybe the behaviour have changed and the demos have to be updated.

       

Viewing 3 reply threads
  • You must be logged in to reply to this topic.