4d / docs

Products Documentation
Creative Commons Attribution 4.0 International
6 stars 20 forks source link

Comment on: IMAPTransporter #207

Closed jeremy-french-4D closed 2 years ago

jeremy-french-4D commented 3 years ago

ISSUE

The method getBoxInfo may cause a 4D runtime error.

If the box name does not exist, a runtime error occurs (#1).

image

The runtime error is unexpected.

The documentation mentions no error.

The value returned by getBoxInfo is null for a non-existent mailbox (#2).

image

EXPECTED BEHAVIOR

The getBoxInfo command returns null without a runtime error.

arnaud4d commented 2 years ago

Thank you for pointing out this missing info in the docs; they are now fixed (an error is returned if the mailbox does not exist)