I am using page.update:after
to duplicate a structure field from a page to a user when the page is updated. I am using the AutoID plugin on the structure fields. The duplication is working fine, however the autoid
field is appearing as null
on the updated structure when I am adding a new row onto the structure. For example if I save this on the page as two new rows:
-
autoid: k46l0zaw
task: Something
progress: incomplete
-
autoid: kykg3dk4
task: Something else
progress: incomplete
The following is on the user:
-
autoid: null
task: Something
progress: incomplete
-
autoid: null
task: Something else
progress: incomplete
If I add an additional row, the existing rows now update their autoid correctly (though the new row appears as null).
I am not sure what is happening here, has anyone had anything similar with this plugin? It is like the autoid is not being generated until too late to be included in the update process?