Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Outlook-exchange/1.0.0 add_category bug #368

Open
Labels
@gh0o5t

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:
 email = folder.get(message_id=email_id)
 email.categories.extend(category)
 email.save()

The function tries to extend the categories list, however if there is no category on the email this is a NoneType object.

Exchange version: 15.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /