{"action":"created","issue":{"url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/29","labels_url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/29/comments","events_url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/29/events","html_url":"https://github.com/trntv/yii2-file-kit/issues/29","id":76318714,"number":29,"title":"Конфликт имён.","user":{"login":"Kharalampidi","id":11192488,"avatar_url":"https://avatars.githubusercontent.com/u/11192488?v=3","gravatar_id":"","url":"https://api.github.com/users/Kharalampidi","html_url":"https://github.com/Kharalampidi","followers_url":"https://api.github.com/users/Kharalampidi/followers","following_url":"https://api.github.com/users/Kharalampidi/following{/other_user}","gists_url":"https://api.github.com/users/Kharalampidi/gists{/gist_id}","starred_url":"https://api.github.com/users/Kharalampidi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kharalampidi/subscriptions","organizations_url":"https://api.github.com/users/Kharalampidi/orgs","repos_url":"https://api.github.com/users/Kharalampidi/repos","events_url":"https://api.github.com/users/Kharalampidi/events{/privacy}","received_events_url":"https://api.github.com/users/Kharalampidi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-14T10:46:52Z","updated_at":"2015-05-14T12:20:14Z","closed_at":null,"body":"Добрый день!\r\nПри загрузке файлов на сервер происходит конфликт с названием полей.\r\nВ моей модели, куда я подгружаю картинку, существуют поля: name, type.\r\n\r\n```\r\narray (size=3)\r\n  '_csrf' => string 'ZlIzYXpGMFYQJVozTgN.FSNraVZOB18cFz9RIkwfBCMpOGIISHBAAg==' (length=56)\r\n  'Company' => \r\n    array (size=13)\r\n      'type' => string '2' (length=1)\r\n      'name' => string '23423432' (length=8)\r\n      'picture' => \r\n        array (size=6)\r\n          'path' => string '1/WMi3_hcCuNvxd3RqX_AYfM2inifNRdBZ.png' (length=38)\r\n          'name' => string ' экрана_2015-04-29_00-44-43' (length=33)\r\n          'size' => string '465063' (length=6)\r\n          'type' => string 'image/png' (length=9)\r\n          'order' => string '' (length=0)\r\n          'base_url' => string 'http://storage.maritime.dev/source' (length=34)\r\n      'phone' => string '' (length=0)\r\n      'email' => string 'gudson@outelook.com' (length=19)\r\n      'skype' => string '' (length=0)\r\n      'site' => string '' (length=0)\r\n      'city_id' => string '' (length=0)\r\n      'country_id' => string '' (length=0)\r\n      'adress' => string '' (length=0)\r\n      'text' => string '' (length=0)\r\n      'created_by' => string '1' (length=1)\r\n      'contact_person' => string '' (length=0)\r\n  '_fileinput_w1' => string '' (length=0)\r\n\r\n```\r\nПри сохранении модели эти поля заполняются из данных о загруженном файле. Содержимое Company['picture']['name'] заменяет содержимое Company['name'], с Type та же проблема.."},"comment":{"url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/comments/102019361","html_url":"https://github.com/trntv/yii2-file-kit/issues/29#issuecomment-102019361","issue_url":"https://api.github.com/repos/trntv/yii2-file-kit/issues/29","id":102019361,"user":{"login":"trntv","id":1162056,"avatar_url":"https://avatars.githubusercontent.com/u/1162056?v=3","gravatar_id":"","url":"https://api.github.com/users/trntv","html_url":"https://github.com/trntv","followers_url":"https://api.github.com/users/trntv/followers","following_url":"https://api.github.com/users/trntv/following{/other_user}","gists_url":"https://api.github.com/users/trntv/gists{/gist_id}","starred_url":"https://api.github.com/users/trntv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trntv/subscriptions","organizations_url":"https://api.github.com/users/trntv/orgs","repos_url":"https://api.github.com/users/trntv/repos","events_url":"https://api.github.com/users/trntv/events{/privacy}","received_events_url":"https://api.github.com/users/trntv/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T12:20:14Z","updated_at":"2015-05-14T12:20:14Z","body":"Покажите конфиг виджета. "}}