Re: The plugin WebOfTrust could not be loaded

[email protected]
Newsgroups gmane.network.freenet.devel
Organization Freenet Project
Message-ID <3254557.rSRxRt36G6@1337h4x0r>
On Thursday, May 19, 2016 04:22:44 PM Bert Massop wrote:
> To xor: a4378e0 seems to be at the root of this problem. Is it at all
> possible to unit test this upgrade path?

If by "upgrade path" you mean "running a WoT with a new database format 
version on an old database":
There is no infrastructure for that yet because that would be rather complex.
This is because database schema changes in db4o are "implicit":
Db4o will automatically adapt the class layout it has stored to certain types 
of changes (but not to all types IIRC) of the Java class structure.
So to test this, we would need both a JAR with the old classes and a JAR with 
the new classes, and somehow load them one after the other - which is rather 
complex from a Git / Ant point of view I suppose.

But: The stack trace we're talking about here is usually always executed (as 
long as a db4o file is pre-existing), not only if the database format version 
changes. So it may be possible to add unit tests for this particular issue
- but as you can see from my other mail, your suspected cause of the issue 
doesn't seem to be the case, so I don't even know yet what we would want to 
test... :|

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAABCAAGBQJXmrjBAAoJEMtmZ+8tjWt5HbMQAIQh/9CPNuw+2CMaFwy0mV/1
/mT6bdLc0pPacY7HbVFe/JuiT8UVgTYU12KQI4bv91BZjtvG0S7cx5gdikg7us05
hdjaKV3NalEmrz+tMpL3B1omtwGOplwYt4ZvVYCRoUNtCuozcFsnuwSVjvJEkkeQ
it/bAjZSbIkdQ8aKP3NBnoHVtf/CVNNeyZyEi8BhNe8IcA22y+8uHiXxbRmnWUzA
WTPM3FUCxX+NAIxI8jLMPEiXPArbAurzZbZX50a8WZSYeCeHXCXu2UZkVMYkxob9
VIqviiuPFdq/i6mL8nUW40Y1svCc22dzSD6nczMFWBHqbOKdDQCVKiEec7w2Yfhk
qSD8uYmHQzaP5tKSPwatsJRgtpzFhya2NsKt6cXD/ayvm4aEa0R17QR2/155BHSq
68LXZZUMgzQuW4pGhX/oBlKckSjJWPIiYunYzmKjaknOKPvYRCGhOYidmd4femBg
25qOuxM0ZXMlnc6g4Uoxm/xKjwCXx42LsVOgONzPhmPoJsbE/KQ9m/qUObwi5AC4
OoilD0cqn5jGKguKxkOmV6rv9Lgd0iWG8xV1jLgS5ErckWpZTpM+sMY6g+IvrZQZ
4JiCekk68O7FRvotCuUcv93quS04IZoFVeuqYbQpZy7TiOYcPrNkFtr/THjlsevZ
sHrM5L785eTxGRotsMwo
=hkBE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.