I was playing around with alternate actions and noticed that an item looses its data_bag when having selected an alternate action.
I can only rely on its label which is not what I want. I want more information to be passed on in a hidden way without using the plugin object as container.
I noticed the same when selecting a catalog item and when on_suggest() is called. initial_item does not have the data_bag I added in the on_catalog() method.
I have not checked the other item fields, but it looked like the only field that is available is the label.
I was playing around with alternate actions and noticed that an item looses its
data_bagwhen having selected an alternate action.I can only rely on its label which is not what I want. I want more information to be passed on in a hidden way without using the plugin object as container.
I noticed the same when selecting a catalog item and when
on_suggest()is called.initial_itemdoes not have thedata_bagI added in theon_catalog()method.I have not checked the other item fields, but it looked like the only field that is available is the label.