partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Error while searching for Manufacturer Part Number #874

Closed ds1982ger closed 4 years ago

ds1982ger commented 7 years ago

System Information

How to reproduce

Hello,

i am having issues when searching for Manufacturer Part Number. I activated in System Preferences the Field partParKeeprPartBundeEntityPartManufacturers -> partNumber. When i search for a partNumber i get the following Error:

Details
==================================
[Semantical Error] line 0, col 109 near 't0 INNER JOIN': Error: Class PartKeepr\PartBundle\Entity\Part has no association named partPartKeeprPartBundleEntityPartManufacturers

Request
==================================
GET http://172.31.18.17:88/api/parts?_dc=1497333715901

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

Response
==================================
{"@context":"\/api\/contexts\/Error","@type":"Error","hydra:title":"An error occurred","hydra:description":"[Semantical Error] line 0, col 109 near \u0027t0 INNER JOIN\u0027: Error: Class PartKeepr\\PartBundle\\Entity\\Part has no association named partPartKeeprPartBundleEntityPartManufacturers"}

Server Configuration
==================================
doctrine_orm_version: 2.5.4
doctrine_dbal_version: 2.5.2
doctrine_common_version: 2.6.0-DEV
php_version: 5.6.27-0+deb8u1
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

Can i fix it somehow manually on my System?

christianlupus commented 4 years ago

I think this is solved in the meantime. I cannot reproduce it on the demo page.