-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Many APIs take an error code structure which has 4 fields: bytes provided, bytes available, message id, and a reserved padding field: https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/apiref/errorcodeformat.htm
Bytes provided must be set to a value at least 8 bytes or it will not be used and instead an exception message will be thrown. We define the basic error structure here, including a setlen option to set the bytes available. However, we mix up the order of the bytes available and bytes provided, meaning the API sees bytes available as 0.
This causes many of the tests to fail to run when using a non-*ALLOBJ user because the APIs fail and thrown an exception message, which XMLSERVICE may not handle particularly well it seems.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working