di.xml ExtensionPool create/read handlers Conflicts Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento2 use Plugins (di.xml)How can i rewrite TierPrice Block in Magento2What does this di.xml file have incorrect?Magento 2 : extensionpool, read handlers and save handlersWhy is my Magento Catalog Block Preference ignored in di.xml?Magento2: Change in di.xmlHow to set ifconfig for di.xml magento 2In Magento 2 is there any chance to broke site due to spaces in di.xml fileInvoice Cancellation errorGrid name=“collection” on di.xml work with an undefined path
How does Belgium enforce obligatory attendance in elections?
Why are my pictures showing a dark band on one edge?
What to do with repeated rejections for phd position
Is it possible for SQL statements to execute concurrently within a single session in SQL Server?
How were pictures turned from film to a big picture in a picture frame before digital scanning?
Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode
Why do early math courses focus on the cross sections of a cone and not on other 3D objects?
Co-worker has annoying ringtone
The Nth Gryphon Number
How long can equipment go unused before powering up runs the risk of damage?
Do I really need to have a message in a novel to appeal to readers?
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
How does a spellshard spellbook work?
A term for a woman complaining about things/begging in a cute/childish way
One-one communication
Draw 4 of the same figure in the same tikzpicture
How to report t statistic from R
Lagrange four-squares theorem --- deterministic complexity
Does the Mueller report show a conspiracy between Russia and the Trump Campaign?
Putting class ranking in CV, but against dept guidelines
How many morphisms from 1 to 1+1 can there be?
Intuitive explanation of the rank-nullity theorem
Electrolysis of water: Which equations to use? (IB Chem)
How to compare two different files line by line in unix?
di.xml ExtensionPool create/read handlers Conflicts
Planned maintenance scheduled April 23, 2019 at 23:30UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento2 use Plugins (di.xml)How can i rewrite TierPrice Block in Magento2What does this di.xml file have incorrect?Magento 2 : extensionpool, read handlers and save handlersWhy is my Magento Catalog Block Preference ignored in di.xml?Magento2: Change in di.xmlHow to set ifconfig for di.xml magento 2In Magento 2 is there any chance to broke site due to spaces in di.xml fileInvoice Cancellation errorGrid name=“collection” on di.xml work with an undefined path
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am creating extensionpool handlers to save data in multiple tables.
There are total 3 tables :
1 : Sliders
2 : SliderItems
3 : SliderSelectedItems
When I create/update Slider, list of selected slider items displays in TAB like this

I can see which slides are assigned to a slider.
Also when I check/uncheck the slider items, record is added to SliderSelectedItems table, which stores only item_id and slider_id.
Now, When I create/update slider items, I can choose multiple slider in which this item will be displayed. Like this,

When I save this, record is added to SliderSelectedItems
To add records in SliderSelectedItems, I have created extensionpool Handlers
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MageSparkOwlCarouselSliderApiDataSliderInterface" xsi:type="array">
<item name="read" xsi:type="array">
<item name="sliderReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationReadHandler</item>
<item name="sliderItemReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationReadHandler</item>
</item>
<item name="create" xsi:type="array">
<item name="sliderCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="sliderUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Now, when I am saving the slider, it works fine.
But when I save the slider item, SAVE HANDLER of SLIDER is called.
It conflicts my slider item save/read handler.
I am confused, any help would be appriciated.
Thank you.
magento2 model save di.xml
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am creating extensionpool handlers to save data in multiple tables.
There are total 3 tables :
1 : Sliders
2 : SliderItems
3 : SliderSelectedItems
When I create/update Slider, list of selected slider items displays in TAB like this

I can see which slides are assigned to a slider.
Also when I check/uncheck the slider items, record is added to SliderSelectedItems table, which stores only item_id and slider_id.
Now, When I create/update slider items, I can choose multiple slider in which this item will be displayed. Like this,

When I save this, record is added to SliderSelectedItems
To add records in SliderSelectedItems, I have created extensionpool Handlers
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MageSparkOwlCarouselSliderApiDataSliderInterface" xsi:type="array">
<item name="read" xsi:type="array">
<item name="sliderReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationReadHandler</item>
<item name="sliderItemReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationReadHandler</item>
</item>
<item name="create" xsi:type="array">
<item name="sliderCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="sliderUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Now, when I am saving the slider, it works fine.
But when I save the slider item, SAVE HANDLER of SLIDER is called.
It conflicts my slider item save/read handler.
I am confused, any help would be appriciated.
Thank you.
magento2 model save di.xml
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I am creating extensionpool handlers to save data in multiple tables.
There are total 3 tables :
1 : Sliders
2 : SliderItems
3 : SliderSelectedItems
When I create/update Slider, list of selected slider items displays in TAB like this

I can see which slides are assigned to a slider.
Also when I check/uncheck the slider items, record is added to SliderSelectedItems table, which stores only item_id and slider_id.
Now, When I create/update slider items, I can choose multiple slider in which this item will be displayed. Like this,

When I save this, record is added to SliderSelectedItems
To add records in SliderSelectedItems, I have created extensionpool Handlers
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MageSparkOwlCarouselSliderApiDataSliderInterface" xsi:type="array">
<item name="read" xsi:type="array">
<item name="sliderReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationReadHandler</item>
<item name="sliderItemReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationReadHandler</item>
</item>
<item name="create" xsi:type="array">
<item name="sliderCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="sliderUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Now, when I am saving the slider, it works fine.
But when I save the slider item, SAVE HANDLER of SLIDER is called.
It conflicts my slider item save/read handler.
I am confused, any help would be appriciated.
Thank you.
magento2 model save di.xml
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am creating extensionpool handlers to save data in multiple tables.
There are total 3 tables :
1 : Sliders
2 : SliderItems
3 : SliderSelectedItems
When I create/update Slider, list of selected slider items displays in TAB like this

I can see which slides are assigned to a slider.
Also when I check/uncheck the slider items, record is added to SliderSelectedItems table, which stores only item_id and slider_id.
Now, When I create/update slider items, I can choose multiple slider in which this item will be displayed. Like this,

When I save this, record is added to SliderSelectedItems
To add records in SliderSelectedItems, I have created extensionpool Handlers
<type name="MagentoFrameworkEntityManagerOperationExtensionPool">
<arguments>
<argument name="extensionActions" xsi:type="array">
<item name="MageSparkOwlCarouselSliderApiDataSliderInterface" xsi:type="array">
<item name="read" xsi:type="array">
<item name="sliderReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationReadHandler</item>
<item name="sliderItemReader" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationReadHandler</item>
</item>
<item name="create" xsi:type="array">
<item name="sliderCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemCreator" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
<item name="update" xsi:type="array">
<item name="sliderUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderRelationSaveHandler</item>
<item name="sliderItemUpdater" xsi:type="string">MageSparkOwlCarouselSliderModelResourceModelSliderItemRelationSaveHandler</item>
</item>
</item>
</argument>
</arguments>
</type>
Now, when I am saving the slider, it works fine.
But when I save the slider item, SAVE HANDLER of SLIDER is called.
It conflicts my slider item save/read handler.
I am confused, any help would be appriciated.
Thank you.
magento2 model save di.xml
magento2 model save di.xml
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 days ago
Rizwan
951526
951526
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
Shweta DanejShweta Danej
112
112
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Shweta Danej is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Shweta Danej is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270405%2fdi-xml-extensionpool-create-read-handlers-conflicts%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Shweta Danej is a new contributor. Be nice, and check out our Code of Conduct.
Shweta Danej is a new contributor. Be nice, and check out our Code of Conduct.
Shweta Danej is a new contributor. Be nice, and check out our Code of Conduct.
Shweta Danej is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270405%2fdi-xml-extensionpool-create-read-handlers-conflicts%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown