Skip to main content

Mass Action config is cleared when publishing/unpublishing from listing page

6 hours 18 minutes ago #100000559 by oxido
-- HikaShop version -- : 6.8.1
-- Joomla version -- : 5.4.10
-- PHP version -- : 8.5.12
-- Browser(s) name and version -- : Chrome 156.0
  1. Create a new Mass Action and configure it with several settings/options ( Even a single trigger is sufficient; I used "after a product is updated." )
  2. Save the Mass Action.
  3. Go back to the Mass Actions listing page.
  4. Click the Publish or Unpublish icon/button for that Mass Action.
Expected result:
The Mass Action status should change between published and unpublished while keeping all previously configured settings intact.


Actual result
After clicking Publish or Unpublish, the Mass Action remains available, but all its configured settings are cleared/reset. The action configuration is lost and needs to be recreated manually.
It appears that the publish/unpublish operation triggers a reset of the stored configuration instead of only updating the published state.

Please Log in or Create an account to join the conversation.

3 hours 4 minutes ago #100000563 by nicolas
Hi,

Thank you for the clear steps. This is a bug that came with HikaShop 6.8.0: the publish toggle of the mass actions listing saved the mass action without its triggers, filters and actions, which cleared them.

It is fixed in the latest build of HikaShop 6.8.1. Download it from your account on our website and install it over your current HikaShop. The version number stays the same, so the Joomla updater will not offer it, and your settings are kept.

The update cannot bring back the settings of mass actions that were already cleared. Please set those up again, or restore their rows of the hikashop_massaction table from a database backup taken before the toggle was used. After the update, publishing and unpublishing from the listing only changes their status.

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum