Exception comes when edit cron without schedule
Hector68 opened this issue · 1 comments
Hector68 commented
Exception comes when edit cron without schedule
Steps to reproduce
- Create cron like this
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="index">
<job name="xxx_queue" instance="MageAssist\Integration\Cron\Queue" method="execute">
<config_path>xxx_integration/queue/cron_expression</config_path>
</job>
</group>
</config>
-
Go to Systems - All cron jobs -> edit xxx_queue
-
Get error :
Notice: Undefined index: schedule in /home/xxx/public_html/vendor/kiwicommerce/module-cron-scheduler/Ui/DataProvider/Form/CronJobDataProvider.php on line 83
Expected result
Posibility to edit cron or view details
Actual result
kiwi-commerce commented