Patch Schedule API validation issue in JSReport



  • I am using following patch API to update the data of my existing schedule.

    PATCH http://jsreport-host/odata/schedules('<_id>')
    BODY: {
    "cron": "ree",
    "templateShortid":"abds"
    }

    While using POST Schedule API, the validation seems to be in place as it gives error for invalid cron and templateShortid values, but not in case of PATCH.
    Is this an existing issue? Any suggestion how can this be resolved?



  • Thank you for the bug report. For some reason, we validate only full updates.
    We will fix it, you can subscribe here.

    https://github.com/jsreport/jsreport/issues/716



  • Thanks for looking into the matter and responding quickly.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.