di.xml ExtensionPool create/read handlers Conflicts Planned maintenance scheduled April 17/18,...

Storing hydrofluoric acid before the invention of plastics

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

Generate an RGB colour grid

Book where humans were engineered with genes from animal species to survive hostile planets

porting install scripts : can rpm replace apt?

What does F' and F" mean?

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

How to tell that you are a giant?

Ring Automorphisms that fix 1.

How do pianists reach extremely loud dynamics?

First console to have temporary backward compatibility

Can a USB port passively 'listen only'?

String `!23` is replaced with `docker` in command line

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Why is "Consequences inflicted." not a sentence?

What causes the vertical darker bands in my photo?

List of Python versions

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

How to answer "Have you ever been terminated?"

What exactly is a "Meth" in Altered Carbon?

The logistics of corpse disposal

Apollo command module space walk?

How to bypass password on Windows XP account?



di.xml ExtensionPool create/read handlers Conflicts



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm 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;
}







1















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



enter image description here



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,



enter image description here



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.









share







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.



























    1















    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



    enter image description here



    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,



    enter image description here



    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.









    share







    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.























      1












      1








      1








      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



      enter image description here



      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,



      enter image description here



      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.









      share







      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



      enter image description here



      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,



      enter image description here



      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 save di.xml





      share







      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.










      share







      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.








      share



      share






      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 6 mins ago









      Shweta DanejShweta Danej

      61




      61




      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.






















          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.










          draft saved

          draft discarded


















          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.










          draft saved

          draft discarded


















          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...