synopse / mORMot2

OpenSource RESTful ORM/SOA/MVC Framework for Delphi and FreePascal
https://synopse.info
Other
485 stars 122 forks source link

Compile issue with test/mormot2tests.dproj on current master branch #237

Closed BastianTeufel-GTR closed 5 months ago

BastianTeufel-GTR commented 5 months ago

Hi,

I've followed the instructions in the README file to set mormot2 up on my Delphi (12) installation. On the final step, when trying to build the mormot2tests project, the following error pops up:

grafik

There's a typo in the variable name in unit test.soa.core, Line 1720, Variable hlrAfter1MB is not defined -> the var name should be hrtAfter1MB

    if withlog then
      HTTPServer.HttpServer.Logger.DefaultRotate := hlrAfter1MB;

After adjusting the file accordingly it compiles:

    if withlog then
      HTTPServer.HttpServer.Logger.DefaultRotate := hrtAfter1MB;
synopse commented 5 months ago

shoud be fixed now.

thanks for the report. ;)

BastianTeufel-GTR commented 5 months ago

Thanks, this was quick 👍

synopse commented 5 months ago

Please close the issue if you think it is resolved. :D

For a first test/overview, it may be a good idea to try from the last release instead of plain trunk, which may be unstable until the nightly automated tests are run. ;)