Notification throws an error in html format.

Bug #1892487 reported by Amy Pattanasethanon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned

Bug Description

I created a notification using:

```
maas admin notifications create ident='release_notification' category='info' users=true admins=true message='<strong>We’ve released MAAS 2.8.</strong> This version supports LXD VM hosts, faster UI and many bug fixes. Find out <a href="https://maas.io/docs/release-notes">what’s new in 2.8</a>.'
```

Then I dismissed the notification on the UI.

I tried to create it again, so I can see it and got:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Error: Conflict Error</title>
  </head>
  <body>
    <h2 class="p-heading--four">
      Conflict error. Try your request again, as it will most likely succeed.
    </h2>
  </body>
</html>

Also, when you dismissed the notification, you cannot get the id of the notification via

maas $PROFILE notifications read

(We sort of need the notification id to delete that notification, in order to create another one.)

Tags: cli
tags: added: cli
description: updated
Dougal Matthews (d0ugal)
Changed in maas:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Medium
Changed in maas:
status: Confirmed → Triaged
Changed in maas:
importance: Medium → Low
milestone: none → 3.5.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.