Comments (9)
@gplanchat Please show composer show --installed | grep oro
output here
from orocommerce.
$ composer show --installed | grep oro
oro/calendar-bundle 1.0.0-beta.5 Oro Calendar Bundle
oro/commerce 1.0.0-beta.5 OroCommerce - an open-source Business to Business Commerce application. \nThis package contains bundles and needs to be added ...
oro/doctrine-extensions 1.0.13 Doctrine Extensions for MySQL and PostgreSQL.
oro/platform 1.10.10-beta.5 Business Application Platform (BAP)
synolia/oroneo 0.2.1 OroCommerce Akeneo connector
from orocommerce.
To be mentioned, the warnings seems to be in the notifications panel and appearing on each page refresh now
Edit : probably linked to the fact I ran an attribute import with the Akeneo connector
from orocommerce.
It seems to be coming from the Akeneo-Oro connector's strategy object.
I'm still investigating
from orocommerce.
@gplanchat looks like you are trying to create already existing fields
https://github.com/synolia/oroneo/blob/9457f3748ac1d81d8cdff50d228d234dae65071a/Migrations/Data/ORM/SetDefaultMappings.php#L78-L79 based on this configuration in https://github.com/synolia/oroneo/blob/9457f3748ac1d81d8cdff50d228d234dae65071a/ImportExport/Writer/AttributeWriter.php#L52
But Product's fields from OroCommerce side are not in 'extend' scope https://github.com/orocommerce/orocommerce/blob/1.0.0-beta.5/src/Oro/Bundle/ProductBundle/Entity/Product.php#L378
So two configs appear in the database, extend proxy generated from 'extend' config and it differs from methods in Product's class. That's why notice appears.
I suggest you check configs from 'entity' scope.
from orocommerce.
You mean, this part :
<?php
$entity->fromArray(
'extend',
[
'target_column' => $target,
'target_entity' => LocalizedFallbackValue::class,
'relation_key' => RelationType::MANY_TO_MANY.'|'.Product::class.'|'.LocalizedFallbackValue::class.'|'.$entity->getFieldName(),
'target_grid' => [
$target,
],
'target_title' => [
$target,
],
'target_detailed' => [
$target,
],
'cascade' => [
'persist',
],
'without_default' => true,
],
[]
);
Should have its first argument changed from extend
to entity
for system attributes ?
from orocommerce.
@gplanchat nope, the scope is valid here.
$provider = $this->configManager->getProvider('entity');
before https://github.com/synolia/oroneo/blob/9457f3748ac1d81d8cdff50d228d234dae65071a/ImportExport/Writer/AttributeWriter.php#L47 to check that property exists.
from orocommerce.
Thank you @SergeyZ, your hints and help drove me to the solution
I made the PR synolia/oroneo#7
from orocommerce.
@gplanchat You are welcome!
from orocommerce.
Related Issues (20)
- Wysiwyg images not moved to public cache
- Products page does not work for new User with Sales roles HOT 2
- Commerce 5.0.3: Exception when attempting to view or edit a Campaign
- Abstract classes - please, no private methods HOT 7
- Quote Revision function suggestion, Client negotiation HOT 2
- Bug in TaxValueManager
- Not possible to choose email template for Email Campaign HOT 3
- Unable to change orocommerce 5.0 favicon for custom theme inherited from default as parent. HOT 1
- composer install fails HOT 2
- [SEO] Missing alt attributes HOT 1
- Error during installation when empty email submitted
- typo in PricingBundle with the word `choises`
- Oro Migration getting failed when running oro:install command for version 5.1LTS HOT 1
- Some PostgreSQL functions in the CE release HOT 1
- OroCommerce 4.2: Export Price List. Error: Orphans were found and redelivered. consumerIds:..... HOT 1
- Error during update from 5.0.9 to 5.0.11
- Make other (text, string, date, ...) attributes types available as "Configurable"
- Wrong redirect after applying action on grid HOT 1
- Quotes tables - sort Quote IDs as strings (1, 10, 11, 12, 13, ..., 20, 21, 22) , not as numbers HOT 1
- Double escape search result text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orocommerce.