- This topic has 4 replies, 2 voices, and was last updated 6 years, 9 months ago by
Francisco Armando Dueñas Rodriguez.
-
AuthorPosts
-
-
March 11, 2019 at 02:48 #53476
Francisco Armando Dueñas Rodriguez
ParticipantHi 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.
-
This topic was modified 6 years, 9 months ago by
Francisco Armando Dueñas Rodriguez.
-
This topic was modified 6 years, 9 months ago by
-
March 18, 2019 at 23:26 #53486
kimbomadsen
KeymasterI 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.
-
March 19, 2019 at 03:45 #53489
Francisco Armando Dueñas Rodriguez
ParticipantHi 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
-
-
March 19, 2019 at 08:06 #53490
Francisco Armando Dueñas Rodriguez
ParticipantAlso 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
-
This reply was modified 6 years, 9 months ago by
Francisco Armando Dueñas Rodriguez.
-
This reply was modified 6 years, 9 months ago by
-
March 19, 2019 at 20:22 #53494
Francisco Armando Dueñas Rodriguez
ParticipantThe 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.
-
-
AuthorPosts
- You must be logged in to reply to this topic.
