Closed luzpaz closed 6 years ago
I was able to reproduce this on my dev box. Will look into it.
@luzpaz there are 2 distinct issues here
You probably misunderstood the purpose of the context concept, which was meant to allow display of the same announcement in different ways, even though at the moment only Page Header is implemented.
Your intended usage is therefore not supported, and I would even say not fixable without important modifications. Even if the unique key were changed to include the access level, it would still not work as you intend, because of the way this is handled by MantisBT: specifying e.g. Reporter always implies "or higher". So in your setup, a Developer would see all the announcements for Viewer, Reporter, Updater and Reporter (and would not be able to dismiss the first two...)
I will fix 1, but I'm afraid there is nothing I can do for 2 at the moment.
Running MantisBT 2.13.1 with most up to date Announce plugin.
Just tested it. I added an options for each role as per the screenshot:![image](https://user-images.githubusercontent.com/4140247/39183031-3231abac-47ae-11e8-976d-8cdda0523a59.png)
Steps to reproduce:
+
columnI get this error:
Edit:
This error also occurs when submitting more than 1 entry