integration_zammad icon indicating copy to clipboard operation
integration_zammad copied to clipboard

Undefined array key "state_id" and "owner_id" in Zammad Integration 3.0.1

Open dustbro opened this issue 9 months ago • 0 comments

Steps to reproduce

  1. Install Nextcloud 30.0.7.2 on Ubuntu 20.04.6 LTS using Apache/2.4.52, PHP 8.3.19, and MySQL as the database.
  2. Install Zammad Integration app version 3.0.1 in Nextcloud.
  3. Configure the Zammad Integration app with valid credentials (Zammad version: 6.4.1-1741348581.b9a98307.focal).
  4. Log into Nextcloud and access the Dashboard.

Expected behaviour

The Nextcloud dashboard should load without errors, and the Zammad Integration app should be functional.

Actual behaviour

Whenever the Nextcloud dashboard is accessed, these errors appear in the Nextcloud log:

{"reqId":"UVjbdrvc2qxSQ1fyKaKl","level":3,"time":"2025-03-20T04:20:10+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"owner_id\" at /var/www/nextcloud/apps/integration_zammad/lib/Service/ZammadAPIService.php#100","userAgent":"--","version":"30.0.7.2","data":{"app":"PHP"},"id":"67dc08cc8ec40"}

{"reqId":"UVjbdrvc2qxSQ1fyKaKl","level":3,"time":"2025-03-20T04:20:10+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"state_id\" at /var/www/nextcloud/apps/integration_zammad/lib/Service/ZammadAPIService.php#99","userAgent":"--","version":"30.0.7.2","data":{"app":"PHP"},"id":"67dc08cc8ec45"}

{"reqId":"UVjbdrvc2qxSQ1fyKaKl","level":3,"time":"2025-03-20T04:20:10+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Undefined array key \"owner_id\" at /var/www/nextcloud/apps/integration_zammad/lib/Service/ZammadAPIService.php#100","userAgent":"--","version":"30.0.7.2","data":{"app":"PHP"},"id":"67dc08cc8ec49"}

Server configuration

Web server:
Apache/2.4.52 (Ubuntu)

Database:
MySQL (utf8mb4)

PHP version:
8.3.19

Nextcloud version:
30.0.7.2

Zammad details

  • Zammad Version: 6.4.1-1741348581.b9a98307.focal
  • Zammad OS: Ubuntu 20.04.6
  • Database: PostgreSQL 12.22
  • Ruby: 3.2.4
  • Zammad Integration App: 3.0.1

Please let me know if you need any additional logs or details to troubleshoot this issue.

dustbro avatar Mar 20 '25 12:03 dustbro