here is my quick fix by modifying the REQUEST variable in media_upload.php.
place the following line:
$_REQUEST['post_id'] = str_replace($_REQUEST['post_id'],'-','');
under the following line in media_upload.php,
$post_id = isset($post_id)? (int) $post_id : 0;
also, I always wonder that such issues never fixed or even replies by fellow programmers in this forum. This issue is notified by few users 2 or 3 weeks before, but no answers.
I always found the fixed for my issues.
Anyway I am happy to fix the issue and help others.
This is the quick fix, even I don't know why the post_id generated with negative value. If anybody found the reason let me know, so I can help/support this community further.
Regards,
Senthil,
http://www.senthil.name.