Misleading error message when partnership/receiver is missing
akasparas opened this issue · comments
I had recipient tag instead of receiver in my partnership configuration. Yet OpenAS2 complained that sender is missing. Spent way too much time trying to find what's wrong.
thanks for the feedback.
The message will be updarted to this in the next release:
throw new OpenAS2Exception("Partnership "" + partnershipName + "" is missing a node entry for the " + partnerType + ".");
Thanks!
On a related note, could you please also check that partner node has both name and as2_id attributes defined. Due to spelling mistakes in these names server could not find relationships. And reason for that was very difficult to find.
Message changed in release 3.0.0