-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone Server Does Not Work Properly When Compiled in Runtime Package Mode #239
Comments
I use Delphi 10.3 update 1 Professional |
Hi, can you try to put the required packages in the application folder and run the app? |
Hello Danielli I am sending the delphi load modules print and the list of packages marked for runtime. |
Any news using 3.2 RCs? |
Hello! |
However, if you need nullables, you can use the new mvcframework.nullables.pas |
We cannot reproduce this problem. Our DMSContainer is a project which uses dmvcframework as run-time linked package (directly and indirectly). Is this your situation? |
Hello, I tested again with the current repository and this error no longer occurs Thank you! |
Hello,
I'm working with TNullabes type serialization
based on the example: "samples \ renders_spring4d_nullables \ renders_spring4d_nullables"
and custom serialization works perfectly.
But the DMVC presents a problem in serialization when I try to use packets at runtime:
Explanation:
I create a new default standalone server by wizard,
when you enable the Runtime package = true option,
I add the following BLPs in the package list:
loggerproRT, dmvcframeworkRT, dmvcframeworkDT.
Then I run the application and the following errors occur:
1 - The system does not generate the log files: logs \ StandAloneServer.00.dmvcframework.log
2 - Standalone Server does not recognize TCustomTypesSerializers classes.
but if I run the same server with Runtime option package = False;
DMVS generates the log file and writes the log of the serialized types:
see example of my StandAloneServer.00.dmvcframework.log:
...
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Integer> [dmvcframework]
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Currency> [dmvcframework]
2019-07-17 10: 56: 50: 043 [TID 14452] [DEBUG] Registering TypeSerializer for: Nullable <System.Double> [dmvcframework]
...
The renders_spring4d_nullables example also does not work with "Runtime package = true"
Thanks for listening.
Att
Marcos Nielsen.
The text was updated successfully, but these errors were encountered: