- Issue created by @edyuenyw
- π¦πΊAustralia edyuenyw
Patch to update an extended webform_submission field.
- Status changed to Postponed: needs info
almost 2 years ago 1:19pm 16 March 2023 - πΊπΈUnited States jrockowitz Brooklyn, NY
It is unclear how to reproduce this issue.
Is this an edge case, and you are just sharing your solution?
- π¦πΊAustralia edyuenyw
Hi @jrockowitz,
Thanks for the reply.
This is not an issue that can be reproduced from the original webform.
I am working on a custom module that uses this module and added an extra field to the the webform_submission config.
This field is custom field and is used to mark the webform_submission status either "New" or "Exported". For example when user download/export the webforms will update the custom field to Exported. Or mark it as "New" so other reasons. This is fine when doing it within a batch limit because of our custom code that updates the field.However, if this is done as a batch, it has to go to the batch process to run it as batch. The issue for my case is that because of the static method of the batch process, I created this patch for now to add some code to update the custom field.
Probably not sure if this is the way to go but would like to get opinions on this.
- Status changed to Closed: outdated
over 1 year ago 10:07am 26 May 2023 - πΊπΈUnited States jrockowitz Brooklyn, NY
I don't have any opinion because we are talking about custom code and functionality.
- π¦πΊAustralia yovince Melbourne
hi~
I just rerolled the patch for our requirement.