Title: [Bug Report]: Webhook fails for specific recycle bin operations · Issue #3154 · BookStackApp/BookStack · GitHub
Open Graph Title: [Bug Report]: Webhook fails for specific recycle bin operations · Issue #3154 · BookStackApp/BookStack
X Title: [Bug Report]: Webhook fails for specific recycle bin operations · Issue #3154 · BookStackApp/BookStack
Description: Describe the Bug Recycle bin item restore/destroy operations lead to the below error when a webhook is active using the recycle_bin_restore/destroy operations. Too few arguments to function BookStack\Entities\Models\Deletion::getUrl(), 0...
Open Graph Description: Describe the Bug Recycle bin item restore/destroy operations lead to the below error when a webhook is active using the recycle_bin_restore/destroy operations. Too few arguments to function BookSta...
X Description: Describe the Bug Recycle bin item restore/destroy operations lead to the below error when a webhook is active using the recycle_bin_restore/destroy operations. Too few arguments to function BookSta...
Opengraph URL: https://github.com/BookStackApp/BookStack/issues/3154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug Report]: Webhook fails for specific recycle bin operations","articleBody":"### Describe the Bug\r\n\r\nRecycle bin item restore/destroy operations lead to the below error when a webhook is active using the `recycle_bin_restore/destroy` operations.\r\n\r\n```\r\nToo few arguments to function BookStack\\Entities\\Models\\Deletion::getUrl(), 0 passed in /home/dan/web/bookstack/app/Actions/DispatchWebhookJob.php on line 123 and exactly 1 expected\r\n```\r\n\r\nIs due to the `getUrl` on the `Deletion` model requiring a param. Needs to have a default or the usage of URL within webhook data needs to be more targeted. \r\n\r\n---\r\n\r\nReported by abe on discord. ","author":{"url":"https://github.com/ssddanbrown","@type":"Person","name":"ssddanbrown"},"datePublished":"2022-01-10T11:44:48Z","url":"https://github.com/BookStackApp/BookStack/issues/3154"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:90a5d9fb-ced5-8ead-6ef9-994b81975534 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B436:232962:3C18C9:569E20:6AFD80D0 |
| html-safe-nonce | 5e0fc2e3cf819972e52961464509441e7d3ca132a6875f5cd04cf746b2c507d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDM2OjIzMjk2MjozQzE4Qzk6NTY5RTIwOjZBRkQ4MEQwIiwidmlzaXRvcl9pZCI6Ijc0MDExMjExMzg0MTcxNzI2ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7532d49f100c912c5a11ce36ee81a3f9bbccd0a626ae386a04b28f03ae73b5a8 |
| hovercard-subject-tag | issue:1097799995 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/BookStackApp/BookStack/3154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/67aca4dc0713177d8339f043133b370b248ac62f73d1f5fc515a0bc3da8014e3/BookStackApp/BookStack/issues/3154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/67aca4dc0713177d8339f043133b370b248ac62f73d1f5fc515a0bc3da8014e3/BookStackApp/BookStack/issues/3154 |
| og:image:alt | Describe the Bug Recycle bin item restore/destroy operations lead to the below error when a webhook is active using the recycle_bin_restore/destroy operations. Too few arguments to function BookSta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ssddanbrown |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42d4967e3c8afca51ccac31f419a705af777226a95f025ea73387d87a306b326 |
| turbo-cache-control | no-preview |
| go-import | github.com/BookStackApp/BookStack git https://github.com/BookStackApp/BookStack.git |
| octolytics-dimension-user_id | 20912696 |
| octolytics-dimension-user_login | BookStackApp |
| octolytics-dimension-repository_id | 41589337 |
| octolytics-dimension-repository_nwo | BookStackApp/BookStack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 41589337 |
| octolytics-dimension-repository_network_root_nwo | BookStackApp/BookStack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2329ceed0bc2c7b7c3b9f5f2db6abfc7b6fc3a50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width