helhum / TYPO3.IHS

Incident Handling System
4 stars 0 forks source link

Creating new version results in server error #107

Closed IchHabRecht closed 9 years ago

IchHabRecht commented 9 years ago

Request: GET /products/createversion?versions=%5B%224.0.3%22%5D&product= HTTP/1.1 Host: ihs.timkandel.de User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: de,en;q=0.7,en-us;q=0.3 Accept-Encoding: gzip, deflate X-Requested-With: XMLHttpRequest Referer: https://ihs.timkandel.de/security-bulletins/edit?advisory%5B__identity%5D=TYPO3-20061010-1 Cookie: TYPO3_Flow_Session=genpJ4oaD4Wa5oqy0ac7aO6m122YPU9m Connection: keep-alive

Answer: HTTP/1.1 500 Internal Server Error Server: nginx/1.4.6 (Ubuntu) Date: Tue, 16 Jun 2015 11:02:28 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive X-Powered-By: PHP/5.5.9-1ubuntu4.9

<!DOCTYPE html>

500 Internal Server Error
500 Internal Server Error

500 Internal Server Error

An internal error occurred.

When contacting the maintainer of this application please mention the following reference code:

2015061613022802c499

mberhorst commented 9 years ago

I tested it and could not reproduce the error. The url from the ajax request should look like this:

http://ihs.dev/products/createversion?versions=%5B%223.6.2%22%5D&product=e7da0978-b3a9-f141-84ac-dcfc8c046aff

In the url given the product part is empty.

Is it possible that you did add a solution to an issue which does not have a product assigned? The only way to do this is to create an issue while editing an advisory.

I would fix the problem with creating solutions in the advisory edit mode.