Confusing output of Info-Resource
In a new, empty CaosDB instance I issued:
https://localhost:10443/Entity/?all=Property&P=0L10
and received (as expected):
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://localhost:10443/webinterface/1642496917/webcaosdb.xsl" ?>
<Response username="admin" realm="PAM" srid="..." timestamp="..." baseuri="https://localhost:10443" count="0">
<noscript>
<h1>Please enable JavaScript!</h1>
</noscript>
<UserInfo username="admin" realm="PAM">
<Roles>
<Role>administration</Role>
</Roles>
</UserInfo>
<TransactionBenchmark info="TransactionBenchmark is disabled." />
</Response>
... indicating an empty database.
However, the Info-Resource (https://localhost:10443/Info) responds with:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://localhost:10443/webinterface/1642496917/webcaosdb.xsl" ?>
<Response username="admin" realm="PAM" srid="..." timestamp="..." baseuri="https://localhost:10443">
<noscript>
<h1>Please enable JavaScript!</h1>
</noscript>
<UserInfo username="admin" realm="PAM">
<Roles>
<Role>administration</Role>
</Roles>
</UserInfo>
<TimeZone offset="+0000" id="Etc/UTC">Coordinated Universal Time</TimeZone>
<Stats>
<counts records="0" properties="3" recordTypes="1" files="0" fssize="0B" tmpfiles="0" debug="true" />
<dropOffBox path="/opt/caosdb/mnt/dropoffbox" />
</Stats>
<TransactionBenchmark info="TransactionBenchmark is disabled." />
</Response>
(left out flags)
So, whom do I trust? Info counts 3 properties and 1 record type... but they are not yielded when retrieving all the Entities.
I need the Info-Resource for checking the database for emptiness, so this approach will lead to bugs.