Creating an “Announcement” without associated boards throws

    1. Create a thread with type “Announcement”.
    2. De-select all boards.
    3. Submit.
    4. Notice it works fine.
    5. Open the “Edit Thread” dialog
    6. De-select all boards
    7. Submit the dialog.
    8. Notice the following Exception:
    Requested URL
    /forum/index.php?ajax-proxy/&t=*snip*
    Referrer
    https://www.example.com/forum/index.php?thread/*snip*/
    Error Message
    Undefined index: boardIDs
    Type
    wcf\system\exception\ErrorException
    File (Line)
    /var/www/virtual/xxx/www.example.com/lib/system/WCF.class.php (346)
    Stacktrace
    1. /var/www/virtual/xxx/www.example.com/forum/lib/system/thread/editor/DefaultThreadEditor.class.php (124): wcf\system\WCF::handleError(…)
    2. /var/www/virtual/xxx/www.example.com/forum/lib/system/thread/ThreadHandler.class.php (84): wbb\system\thread\editor\DefaultThreadEditor->validate(…)
    3. /var/www/virtual/xxx/www.example.com/forum/lib/data/thread/ThreadAction.class.php (683): wbb\system\thread\ThreadHandler->saveEdit(…)
    4. [internal function] (?): wbb\data\thread\ThreadAction->saveEdit(…)
    5. /var/www/virtual/xxx/www.example.com/lib/data/AbstractDatabaseObjectAction.class.php (204): call_user_func(…)
    6. /var/www/virtual/xxx/www.example.com/lib/action/AJAXProxyAction.class.php (75): wcf\data\AbstractDatabaseObjectAction->executeAction(…)
    7. /var/www/virtual/xxx/www.example.com/lib/action/AJAXInvokeAction.class.php (104): wcf\action\AJAXProxyAction->invoke(…)
    8. /var/www/virtual/xxx/www.example.com/lib/action/AbstractAction.class.php (47): wcf\action\AJAXInvokeAction->execute(…)
    9. /var/www/virtual/xxx/www.example.com/lib/action/AJAXInvokeAction.class.php (63): wcf\action\AbstractAction->__run(…)
    10. /var/www/virtual/xxx/www.example.com/lib/system/request/Request.class.php (83): wcf\action\AJAXInvokeAction->__run(…)
    11. /var/www/virtual/xxx/www.example.com/lib/system/request/RequestHandler.class.php (96): wcf\system\request\Request->execute(…)
    12. /var/www/virtual/xxx/www.example.com/forum/index.php (9): wcf\system\request\RequestHandler->handle(…)