deck icon indicating copy to clipboard operation
deck copied to clipboard

Exception thrown: OCP\\RichObjectStrings\\InvalidObjectExeption

Open solracsf opened this issue 1 year ago • 2 comments

NC 27.1.7

{
  "reqId": "48Z8qAuXu1iwgbI3RIXB",
  "level": 3,
  "time": "2024-03-11T11:26:16+01:00",
  "remoteAddr": "91.175.67.115",
  "user": "tvie",
  "app": "activity",
  "method": "GET",
  "url": "/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=activity",
  "message": "Exception thrown: OCP\\RichObjectStrings\\InvalidObjectExeption",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
  "version": "27.1.7.2",
  "exception": {
    "Exception": "OCP\\RichObjectStrings\\InvalidObjectExeption",
    "Message": "Parameter is undefined",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/activity/lib/GroupHelper.php",
        "line": 91,
        "function": "validate",
        "class": "OC\\RichObjectStrings\\Validator",
        "type": "->",
        "args": [
          "{user} a ajouté une description à la carte {card} de la liste {stack} du tableau {board}",
          [
            [
              "highlight",
              916,
              "Eschau : devis 50 câbles antivol",
              "https://docs.lpb.com/apps/deck/card/916"
            ],
            [
              "highlight",
              47,
              "Actions Alexandre",
              "https://docs.lpb.com/apps/deck/#/board/47/"
            ],
            [
              "highlight",
              185,
              "Finalisé"
            ],
            [
              "highlight",
              null,
              null
            ],
            [
              "highlight",
              "",
              ""
            ]
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/activity/lib/Data.php",
        "line": 260,
        "function": "addActivity",
        "class": "OCA\\Activity\\GroupHelper",
        "type": "->",
        "args": [
          [
            1567132,
            1709327908,
            30,
            "deck_card_description",
            "aloureiro",
            "And 10 more entries, set log level to debug to see all entries"
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/activity/lib/Dashboard/ActivityWidget.php",
        "line": 152,
        "function": "get",
        "class": "OCA\\Activity\\Data",
        "type": "->",
        "args": [
          [
            "OCA\\Activity\\GroupHelper"
          ],
          [
            "OCA\\Activity\\UserSettings"
          ],
          "tvie",
          0,
          3,
          "desc",
          "by",
          "",
          0
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/dashboard/lib/Controller/DashboardApiController.php",
        "line": 134,
        "function": "getItemsV2",
        "class": "OCA\\Activity\\Dashboard\\ActivityWidget",
        "type": "->",
        "args": [
          "tvie",
          null,
          7
        ]
      },
      {
       "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 230,
        "function": "getWidgetItemsV2",
        "class": "OCA\\Dashboard\\Controller\\DashboardApiController",
        "type": "->",
        "args": [
          [],
          7,
          [
            [
              "OCA\\Activity\\Dashboard\\ActivityWidget"
            ]
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 137,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          [
            "OCA\\Dashboard\\Controller\\DashboardApiController"
          ],
          "getWidgetItemsV2"
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 183,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->",
        "args": [
          [
            "OCA\\Dashboard\\Controller\\DashboardApiController"
          ],
          "getWidgetItemsV2"
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 315,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::",
        "args": [
          "OCA\\Dashboard\\Controller\\DashboardApiController",
          "getWidgetItemsV2",
          [
            "OC\\AppFramework\\DependencyInjection\\DIContainer"
          ],
          [
            "ocs.dashboard.dashboardApi.getWidgetItemsV2"
          ]
        ]
      },
      {
        "file": "/var/www/nextcloud/ocs/v1.php",
        "line": 65,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->",
        "args": [
          "/ocsapp/apps/dashboard/api/v2/widget-items"
        ]
      },
      {
        "file": "/var/www/nextcloud/ocs/v2.php",
        "line": 23,
        "args": [
          "/var/www/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/RichObjectStrings/Validator.php",
    "Line": 70,
    "CustomMessage": "Exception thrown: OCP\\RichObjectStrings\\InvalidObjectExeption"
  },
  "id": "65eedc7b6779f"
}

solracsf avatar Mar 11 '24 10:03 solracsf

Looks kind of similar to nextcloud/activity#456 which was on the Deck side of things.

joshtrichards avatar Aug 07 '24 21:08 joshtrichards

@grnd-alt Looks like a similar thing you are looking into right now.

juliusknorr avatar Aug 08 '24 06:08 juliusknorr