What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello community, after a recent update (spryker/product-management 0.19.16 > 0.19.17) the product
Hello community,
after a recent update (spryker/product-management 0.19.16 > 0.19.17) the product-management GUI in zed stopped working. The ajax-request which fetches the table-data fails with this error:
Cannot determine the column to bind to the parameter in clause "SpyProductAbstractLocalizedAttributes.fkLocale = ?".
I kinda tracked it down to this line:
https://github.com/spryker/product-management/blob/master/src/Spryker/Zed/ProductManagement/Communication/Table/ProductTable.php#L147
If changed from fkLocale
to fk_locale
(like the database-column-name) it works. Is it a known problem or do I have do update other dependencies to get it back working again?
Comments
-
what database type do you use?
0 -
Hey @UKBTMFXMJ, on our local dev-setups we use the docker/sdk where postgres is configured. I did not tested the behaviour in another environment so far
0 -
It's regression issue after latest release, internal ticket is created. We will fix a new patch release soon. Thanks for the reporting.
0 -
Thanks for confirmation. We currently fixed the version to 0.19.16 but will update to the new release when available
0 -
Ok, we will let you know in this thread.
0 -
Great, thank you π
0 -
Just out of the curiosity, where exactly the problem appears?
Just checked using public spryker-shop/b2c-demo-shop. Updated mentioned module to the latest with dependencies and have no problems in Zed. Am I looking at wrong place?0 -
The problem occured on one of our projects (initially started on the 202009.0 release from b2c-suite) after we did a composer update to get the latest patches/fixes, @valerii.trots.
This composer updated did an update for spryker/product-management 0.19.16 to 0.19.17.
Afterwards, the table-ajaxcall on /product-management fails with the exception mentioned above. Reverting back to 0.19.16 immediately resolves this. Also a temporary change in the vendor-file (see my initial post) resolves this.
As far as I can see we have no project-level changes in pyz/Zed/ProductManagement0 -
Interesting. π€
docker/sdk cli composer update spryker/product-management Finished: success: 1, skipped: 0, failure: 0, total: 1 Updating spryker/product-management (0.19.7 => 0.19.12): Loading from cache
docker/sdk cli composer update spryker/product-management --with-dependencies Finished: success: 66, skipped: 0, failure: 0, total: 66 Updating spryker/product-management (0.19.12 => 0.19.17)
And there are no problems for me locally.
But ok, if Stanislav confirms the issue, then it will be fixed.I was just curious. π
0 -
I'm still checking π
0 -
... and I did not want to claim we did everything correct here π
0 -
Hello @UM0EZB9GT
Please, share your Propel version.Thanks!
0 -
and postgres
0 -
Just checked on local docker setup
with
DBMS: PostgreSQL (ver. 9.6.21)and
spryker/propel-orm:1.13.0
it works with
SpyProductAbstractLocalizedAttributes.fkLocale
0 -
Our setup is:
Postgres is 9.6.20 (from PG_VERSION env) and propel/propel is fixed on "2.0.0-alpha11" (unchanged since project-setup via
https://github.com/spryker-shop/b2c-demo-shop.git -b 202009.0)0 -
spryker/propel-orm is at 1.12.0 in this specific project
0 -
Ok, thank you very much @UM0EZB9GT. The problem is found. spryker/product-management is incompatible with spryker/propel-orm:1.12.0 (only with 1.13.0)
0 -
will release the fix soon
0 -
Great, thank you
0 -
-
Iit works, thank you @UKBTMFXMJ π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random