Title: Outlook-exchange/1.0.0 add_category bug · Issue #368 · Shuffle/python-apps · GitHub
Open Graph Title: Outlook-exchange/1.0.0 add_category bug · Issue #368 · Shuffle/python-apps
X Title: Outlook-exchange/1.0.0 add_category bug · Issue #368 · Shuffle/python-apps
Description: The add_category function of the application can add category to an email which already has a category, but can't add category to an email which does not have a category. The issue is probably caused by this part of the function: try: em...
Open Graph Description: The add_category function of the application can add category to an email which already has a category, but can't add category to an email which does not have a category. The issue is probably caus...
X Description: The add_category function of the application can add category to an email which already has a category, but can't add category to an email which does not have a category. The issue is probably ...
Opengraph URL: https://github.com/Shuffle/python-apps/issues/368
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Outlook-exchange/1.0.0 add_category bug","articleBody":"The **add_category** function of the application can add category to an email which already has a category, but can't add category to an email which does not have a category.\r\n\r\nThe issue is probably caused by this part of the function: \r\n\r\n```python\r\ntry:\r\n email = folder.get(message_id=email_id)\r\n email.categories.extend(category)\r\n email.save()\r\n```\r\n\r\nThe function tries to extend the categories list, however if there is no category on the email this is a **NoneType** object.\r\n\r\nExchange version: 15.2","author":{"url":"https://github.com/gh0o5t","@type":"Person","name":"gh0o5t"},"datePublished":"2024-01-18T18:18:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/368/python-apps/issues/368"}
| 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:a3506a84-c983-6b4b-ad08-a423d48d86f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8394:2AE2E2:24E75B4:2FE38AF:6A5C9CC1 |
| html-safe-nonce | aa7c09305d4de89fc12073cf6684ed80c6f4c4360ad1a6a919f4db4f40731919 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mzk0OjJBRTJFMjoyNEU3NUI0OjJGRTM4QUY6NkE1QzlDQzEiLCJ2aXNpdG9yX2lkIjoiNjEwMTExODAzNjM2NjYzMDA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 33f55a07a7384dc337d320995f1726a67ce9ebd6ca9786ef90b6d0c022fa794c |
| hovercard-subject-tag | issue:2088824763 |
| 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/Shuffle/python-apps/368/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a07b990e333949a4a19f6a4cec23e2a0641259226c77fd6ca52c2acaf909f946/Shuffle/python-apps/issues/368 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a07b990e333949a4a19f6a4cec23e2a0641259226c77fd6ca52c2acaf909f946/Shuffle/python-apps/issues/368 |
| og:image:alt | The add_category function of the application can add category to an email which already has a category, but can't add category to an email which does not have a category. The issue is probably caus... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gh0o5t |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/Shuffle/python-apps git https://github.com/Shuffle/python-apps.git |
| octolytics-dimension-user_id | 74708781 |
| octolytics-dimension-user_login | Shuffle |
| octolytics-dimension-repository_id | 262509573 |
| octolytics-dimension-repository_nwo | Shuffle/python-apps |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 262509573 |
| octolytics-dimension-repository_network_root_nwo | Shuffle/python-apps |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width