Open WickedAx opened 7 years ago
Same problem and error codes here, running partkeepr-1.2.0.
Thanks for the bug report, scheduled for 1.2.1
Can you @WickedAx please verify that it is still an open issue on the demo page?
Running on my local install, followed steps get this error `An error occurred
Expected argument of type "PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo", "Proxies__CG__\PartKeepr\ImageBundle\Entity\TempImage" given
POST http://kamaji/api/manufacturers?_dc=1579676903329
[object Object]
500
{"@context":"\/api\/contexts\/Error","@type":"Error","hydra:title":"An error occurred","hydra:description":"Expected argument of type \u0022PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo\u0022, \u0022Proxies\CG\PartKeepr\ImageBundle\Entity\TempImage\u0022 given"}
doctrine_orm_version: 2.5.4 doctrine_dbal_version: 2.5.2 doctrine_common_version: 2.6.0-DEV php_version: 7.2.24-0ubuntu0.18.04.2 auto_start_session: true maxUploadSize: 2097152 isOctoPartAvailable: false availableImageFormats: JPG,GIF,PNG max_users: unlimited authentication_provider: PartKeepr.Auth.HTTPBasicAuthenticationProvider tip_of_the_day_uri: https://partkeepr.org/tips/%s password_change: true patreonStatus: defaultGridPresets: [] `
i am also getting error , while adding manufacturer logo
System Information
How to reproduce
Details
Type error: Argument 1 passed to PartKeepr\ManufacturerBundle\Entity\Manufacturer::removeIcLogo() must be an instance of PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo, instance of Proxies__CG__\PartKeepr\ImageBundle\Entity\TempImage given, called in /home/demo.partkeepr.org/PartKeepr/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php on line 616
Request
POST https://demo.partkeepr.org/api/manufacturers?_dc=1486869767103
[object Object]
Response Status Code
500
Response
{"@context":"\/api\/contexts\/Error","@type":"Error","hydra:title":"An error occurred","hydra:description":"Type error: Argument 1 passed to PartKeepr\ManufacturerBundle\Entity\Manufacturer::removeIcLogo() must be an instance of PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo, instance of Proxies\CG\PartKeepr\ImageBundle\Entity\TempImage given, called in \/home\/demo.partkeepr.org\/PartKeepr\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/PropertyAccess\/PropertyAccessor.php on line 616"}
Server Configuration
doctrine_orm_version: 2.5.4 doctrine_dbal_version: 2.5.2 doctrine_common_version: 2.6.0-DEV php_version: 7.0.14-2 auto_start_session: true maxUploadSize: 2097152 isOctoPartAvailable: true availableImageFormats: JPG,GIF,PNG autoLoginUsername: admin autoLoginPassword: admin motd:
Welcome to the PartKeepr demo site
Notes:
max_users: unlimited authentication_provider: PartKeepr.Auth.HTTPBasicAuthenticationProvider tip_of_the_day_uri: https://partkeepr.org/tips/%s password_change: true