Closed artcathcl closed 2 years ago
tips from Jesse:
i made another copy of the DB, and looked at the form in Domino Designer. In the original db, the form was last modified by
Jxxxxx/HCL_ICEC (xxxx is for privacy). I clicked the "sign" button, and it changed last modified
to Axxxx/USA/PNPHCL (which is the user that made the DB copy). The raw=true
works in that case.
Jesse says: The "document" property should be emitted, but it's translated to just the UNID and the document signer. The trouble comes with the second part, where the server tries to decide the cryptographic signature but can't verify it. This would happen if you e.g. copy a database from some other organization and don't sign it
I've added a check in the JSON serialization in the current develop branch of JNX. In the mean time, though, you should be able to alleviate it by signing the database as the server in Domino Administrator
https://github.com/HCL-TECH-SOFTWARE/domino-jnx/commit/59b07f37fb6fd943a0701b7fb929575fe1d27bb0
For this KEEP endpoint:
/design/forms?db=inttestv1nsf&raw=true
I'm getting this response:
And found this in the logs:
Note the error doesn't occur ...
raw=false