The RTC behavior should only add/remove that specific label. Whatever is causing all other labels and the milestone to be removed needs to be corrected.
Labels |
Added:
bug
|
@mbabker thanks!
@zero-24 I see that you was able to set labels and milestone. I also tried to edit this issue and it contains labels and milestones. Is it specific case for this issue or it is happening all the time?
I do not think that the permission is the issue here as we display labels only for user with manage rights.
{% if user.check('manage') %}
And this users for sure are those who has permissions. I think the problem was that this issue did not have any label and milestone on the time of your editing. Why? That is the question :)
I think the problem was that this issue did not have any label and milestone on the time of your editing. Why? That is the question :)
Correct. Maybe the sync job is failing for any reason?
Maybe the sync job is failing for any reason?
Hate to say it, but it seems that it is sync job again :(
Can we close it?
Saddly yes. When you are a user with no persmissions on gihub but just on the tracker and set a item e.g. to RTC all labels expected RTC are removed.
:( I will try to replicate and fix it.
https://github.com/joomla/jissues/blob/master/src/App/Tracker/Controller/Hooks/Listeners/JoomlacmsPullsListener.php#L330-L351
Maybe this is a permission problem? If you don't have the permissions to change the label / milestones than the labels / milestones got removed.
So i think this could be a problem in the save method where the milestones and labels are empty if you don't have the permissions to change them. This result than in removing them.