Error when editing category of a closed issue.
Try to add a category on a closed issue with no categories
Category applied
It seems that it is something specific for this issue only. API says:
Sending invalid fields will result in a 422 Unprocessable Entity response.
HTTP/1.1 422 Unprocessable Entity
Content-Length: 149
{
"message": "Validation Failed",
"errors": [
{
"resource": "Issue",
"field": "title",
"code": "missing_field"
}
]
}
@mbabker any more info in logs?
It has happens with EVERY issue that doesnt have a category when you try to add a category and it is closed
Labels |
Added:
bug
|
maybe there is something missing in the database for 11210?
The only difference I see between these two issues is a milestone: 11212 does not have it, but 11210 has it. BTW 10470 also has it (that's where Brian had issue).
If you remove the milestone does it work ?
(Sent from a bar or I would check)
When I try to remove milestone I have the same 422 error
. And I have no rights to remove it on GitHub :) I tried on 10470.
If you tryed on the CMS tracker it should not a permission issue as your tasks run in the context of the joomla bots ;)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-12-09 17:40:27 |
Closed_By | ⇒ | brianteeman |
422 RuntimeException
Invalid response from GitHub
exception: exception 'JTracker\Github\Exception\GithubException' with message 'Validation Failed' in ROOT/src/JTracker/Github/GithubObject.php:49
Stack trace:
#0 ROOT/src/JTracker/Github/Package/Issues.php(156): JTracker\GitHub\GithubObject->processResponse(Object(Joomla\Http\Response))
#1 ROOT/src/App/Tracker/Controller/Issue/Save.php(415): JTracker\Github\Package\Issues->edit('joomla', 'joomla-cms', 10470, 'open', '[plg_content_jo...', '### Summary of ...', NULL, '12', Array)
#2 ROOT/src/App/Tracker/Controller/Issue/Save.php(152): App\Tracker\Controller\Issue\Save->updateGitHub('10470', Array, 'closed', 'closed', NULL, '12', Array)
#3 ROOT/src/JTracker/Application.php(190): App\Tracker\Controller\Issue\Save->execute()
#4 ROOT/vendor/joomla/application/src/AbstractWebApplication.php(134): JTracker\Application->doExecute()
#5 ROOT/www/index.php(37): Joomla\Application\AbstractWebApplication->execute()
#6 {main}
Next exception 'RuntimeException' with message 'Invalid response from GitHub' in ROOT/src/App/Tracker/Controller/Issue/Save.php:173
Stack trace:
#0 ROOT/src/JTracker/Application.php(190): App\Tracker\Controller\Issue\Save->execute()
#1 ROOT/vendor/joomla/application/src/AbstractWebApplication.php(134): JTracker\Application->doExecute()
#2 ROOT/www/index.php(37): Joomla\Application\AbstractWebApplication->execute()
#3 {main}
This comment was created with the J!Tracker Application at issues.joomla.org/jtracker/788.