Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error saving manufacturer's logo #865

Open
dani2bunny opened this issue May 30, 2017 · 28 comments
Open

Error saving manufacturer's logo #865

dani2bunny opened this issue May 30, 2017 · 28 comments

Comments

@dani2bunny
Copy link

Hello,

I'm getting this error when I try to save manufacturer after adding a logo image. I tried with all 3 formats (jpg, gif and png). Same error happens on demo site.

An error occurred

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 /var/www/partkeepr/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php on line 616

Request

PUT /api/manufacturers/295?_dc=1496180728969

[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 /var/www/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.15-0ubuntu0.16.04.4
auto_start_session: true
maxUploadSize: 31457280
isOctoPartAvailable: true
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

  • PartKeepr Version: 1.2.0
  • Reproducible on the demo system: Yes.
@joachimtingvold
Copy link

joachimtingvold commented Jun 12, 2017

Can confirm that this happens with us as well, running from source.

An error occurred

Details
==================================
Expected argument of type "PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo", "Proxies\__CG__\PartKeepr\ImageBundle\Entity\TempImage" given

Request
==================================
PUT /api/manufacturers/286?_dc=1497289547897

[object Object]

Response Status Code
==================================
500

Response
==================================
{"@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"}

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.19
auto_start_session: true
maxUploadSize: 2097152
isOctoPartAvailable: false
availableImageFormats: JPG,GIF,PNG
max_users: unlimited
authentication_provider: PartKeepr.Auth.WSSEAuthenticationProvider
tip_of_the_day_uri: https://partkeepr.org/tips/%s
password_change: true

@HSoeren
Copy link

HSoeren commented Nov 6, 2017

Also happens here

`An error occurred

Details

Expected argument of type "PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo", "Proxies_CG_\PartKeepr\ImageBundle\Entity\TempImage" given

Request

POST http://repronik.de/inventory/web/api/manufacturers?_dc=1509964993788

[object Object]

Response Status Code

500

Response

{"@context":"/inventory/web/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"}

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.22-0ubuntu0.16.04.1
auto_start_session: true
maxUploadSize: 8388608
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: [object Object]
`

@JCFutch
Copy link

JCFutch commented Feb 25, 2018

Still having this issue as of today. Any fixes on this?

An error occurred

Details

Expected argument of type "PartKeepr\ManufacturerBundle\Entity\ManufacturerICLogo", "Proxies_CG_\PartKeepr\ImageBundle\Entity\TempImage" given

Request

POST http://choo.choo/api/manufacturers?_dc=1519597927074

[object Object]

Response Status Code

500

Response

{"@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"}

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.25-0ubuntu0.16.04.1
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: [object Object]

@elekgeek
Copy link

The error is still not fixed in version 1.4, this issue is more than 1 year old.

thank you

@Drachenkaetzchen
Copy link
Member

@elekgeek Unfortunately, PartKeepr is not a full time job yet. As such, priority is given for bug fixes and feature requests from people or organizations which sponsor features. You can help to make PartKeepr a full time job so that features can be implemented faster by supporting PartKeepr on Patreon

@X3msnake
Copy link

X3msnake commented Oct 1, 2018 via email

@elekgeek
Copy link

elekgeek commented Oct 1, 2018

@Drachenkaetzchen It seems holders of this project are leaving bugs for a long time on purpose in order to force people become a Patreon which is bad to the project itself after all.

@X3msnake I am not a PHP developer, otherwise I would fixed it as I don't have any problem contributing to open source communities. There is no point redoing the issue which has been reported many times.

@Drachenkaetzchen
Copy link
Member

Drachenkaetzchen commented Oct 1, 2018

@elekgeek that's complete bullshit! I'm the only PartKeepr developer, project founder and have been for almost all of the time! I have spent thousands (YES, THOUSANDS) of unpaid man hours developing PartKeepr, I'm even paying for the server with my OWN money (yes, hosting and patreon doesn't even cover these costs!). Honestly, please fuck off and use another inventory software.

@elekgeek
Copy link

elekgeek commented Oct 1, 2018

Thanks for your effort and nice words. No need to pour your anger on me today..

If you are still upset and don't want to fix that bug and other bugs, can you or someone else be kind to recommend similar inventory software as per your suggestion to use another inventory software.

@Drachenkaetzchen
Copy link
Member

It's not my job to find you another inventory software.

@elekgeek
Copy link

elekgeek commented Oct 1, 2018

then fuck off and don't tell me what to do next time..

@Drachenkaetzchen
Copy link
Member

Additionally, just for clarity: You use a free and open source software maintained by volunteers (mainly me), requesting free support (mainly from me) and then you accuse me of "forcing you into Patreon", then you ask me to find you another software. I do this in my free time, so yes, I do have all right to be angry about you treat people developing software for YOU. Be nice to developers you take from next time.

@X3msnake
Copy link

X3msnake commented Oct 1, 2018 via email

@elekgeek
Copy link

elekgeek commented Oct 1, 2018

@Drachenkaetzchen you asked for the Patreon thing and you read the answer, plain and simple. I did not accuse you of anything other than what you have already suggested which is vicious already. You are not alone on this behavior, most of open source projects now are behaving the same, so the open source thing is a crappy trap after all.

I wonder why people are allowed to post issues on github and then you say we are asking for free support, it is an existing feature that has bugs and you are free whether to solve it or not, you could have said I left it on purpose and I don't want to solve it unless you pay, that's fine. But the point is that posting an issue is by itself a contribution.

It is strange how it hurts you when someone asks you to solve an issue that has been reported since ages, and you are not hurt when you post such a project on github for free, you are just contradicting yourself and effort.

No hard feelings, really.. and this is a great project after all.

@X3msnake
Copy link

X3msnake commented Oct 1, 2018 via email

@Manawyrm
Copy link

Manawyrm commented Oct 1, 2018

@elekgeek
You're the one who's behaving absolutely inappropriately.
You have started the claim about some sort of crazy plot to bring people onto Patreon.

PartKeepr is developed by (oh wonder) real human beings, in need of food, housing and similar things.
If they choose to devote their free time to Open Source projects, they can absolutely freely decide what they want to spend their time on.
If you want to get something else done quickly, incentivise it with money (or maybe some other way).

The only thing you're doing at the moment is insulting and offending software developers and harming their morale. Thanks for nothing.

@elekgeek
Copy link

elekgeek commented Oct 1, 2018

@Manawyrm

@elekgeek
You're the one who's behaving absolutely inappropriately.
You have started the claim about some sort of crazy plot to bring people onto Patreon.

I have not started any claims, Felicia answer's was clear, if you can't see it then no need to accuse me of bringing crazy claims.

PartKeepr is developed by (oh wonder) real human beings, in need of food, housing and similar things.
If they choose to devote their free time to Open Source projects, they can absolutely freely decide what they want to spend their time on.

You make it sound as if I forced her to fix anything.

If you want to get something else done quickly, incentivise it with money (or maybe some other way).

The only thing you're doing at the moment is insulting and offending software developers and harming their morale. Thanks for nothing.

I was not the one who started with "Fuck off" thing :)

@X3msnake
Copy link

X3msnake commented Oct 4, 2018 via email

@dromer
Copy link
Contributor

dromer commented Nov 5, 2018

@Drachenkaetzchen It seems holders of this project are leaving bugs for a long time on purpose in order to force people become a Patreon which is bad to the project itself after all.
You have absolutely no clue how opensource development works.

The bugs are open because people don't have time to spend fixing them. It's as simple as that. Like @Drachenkaetzchen said you could help contribute so she (as the pretty much the sole maintainer of the project) could spend more time on the project and maybe get around to fix bugs.

@jn-simonnet
Copy link

I love people who blame others, pay nothing and just complain like elekgeek.

elekgeek, just try to put yourself in the shoes of Drachenkaetzchen for a minute. If you do it, you will find somebody who developed a piece of SW which I personally am happy to use, precisely because it costs not much, compared to other inventory management SW.

I have been happy to become a Patreon sponsor (modest one) because I thought it was worth encouraging Drachenkaetzchen in her work, and also to see it continue.

If I look at the bug you complain about, your complaints and verbal escalation just sounds ridiculous. You cannot save the mfg logo, so what ? Can you achieve the basic objective of inventory management ? For me, the answer is YES, I CAN.

So I am happily living with the bug, and suggest 👍 1) you do the same 2) You become a Patreon sponsor, which could be a way for Drachenkaetzchen to spend full time on it ! Your bug could then be fixed faster.

This is something YOU can act upon, this is something I decided to act upon when becoming a Patreon sponsor.

@christianlupus
Copy link
Collaborator

Although this bug is quite long and emotional, I ask nevertheless: Is it still an issue with the current git version? Can you verify this, please?

@baradhili
Copy link
Collaborator

@christianlupus there was a comment above in all the flaming that its still there in 1.4.0

@rafaelcamacho
Copy link

Any leads on this error? I was tracking some hint in the code and I wasn't able to. :(
Cheers,
Rafael

@ericmoon
Copy link
Collaborator

ericmoon commented Dec 6, 2020

Just to confirm, this is still valid and reproducible (not surprising as the code has not been touched in that area for a while.)

Some of us are going through a process now to update the code base to the current, or near-current, version of framework, dependencies, etc. You are welcome to join in on that. As of now, we have a pretty good docker dev environment about to be merged. Discussions are held mostly in irc (freenode / #partkeepr) so hop over there if you want to help or want to have some help tracking down specific bugs.

@AGlass0fMilk
Copy link

Still an issue as of 2/22/2022

@partkeepr partkeepr deleted a comment from elekgeek Feb 23, 2022
@dromer
Copy link
Contributor

dromer commented Feb 23, 2022

Please keep it civil.

[offensive and rude comment removed]

@Satnet
Copy link

Satnet commented Oct 14, 2023

Still an issue 2023-10-14.

@stegl
Copy link

stegl commented Oct 15, 2023

yes.. this project is still dead.
last update was on Apr 28, 2018 - yes issue is still here and it will not help posting new dates.
i dont want to be rude or anything. i would love to help update and fix all the bugs
but i dont have knowledge and others dont have interest. sadly because this is a really good tool.
its still the best even outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests