Environment
Discourse Version : v3.1.0.beta2 +607
Plugin Commit : 631b5fe4
Steps to Reproduce
In the submissions tab, select a wizard, user field is blank. I’m trying to upload an image to this field and it’s not working either FYI. Here’s a link CleanShot 2023-03-13 at 10.24.07 · CleanShot Cloud
Angus, you’re still an admin if you need to look.
Example
https://community.naturephotographers.network/admin/wizards/submissions/image_critique
Logs
No logs
1 Like
David, any way you can share your wizard .json here?
Sure, but it happens across all the wizards, so I don’t think it will be too helpful.
nature-photographers-network-wizards-1678809312.json (7.9 KB)
1 Like
Couple of progress points:
I’m able to repro in a totally simple wizard of my own. (You were correct)
The data is almost certainly there, it’s just not being serialized.
I can see the data when creating the same serialized object on the rails console. Very strange!
Investigating …
angus
March 15, 2023, 12:34pm
7
@davidkingham We’ve found the issue and will be merging a fix shortly.
paviliondev:main
← paviliondev:fix_user_in_submissions
opened 12:33PM - 15 Mar 23 UTC
Fixes https://coop.pavilion.tech/t/user-not-showing-in-submission-logs/2569
1 Like
Reviewed and merged.
@davidkingham let us know how you get on
thanks to @angus for jumping in here as SME on this plugin.
1 Like
I see a user now, unfortunately it’s the same user for every submission:
1 Like
Whoooops @angus we need to look at this again.
We probably both tested with just one consistent user?
1 Like
I can repro this.
Here’s a Guest Wizard, and the submission was made logged out:
Looks like it’s always the last submitter that was real.
No, that’s not the case.
I just resubbed as Merefield and its stating it was “else”.
Looking much better, thanks, I’ll review quickly!
The PluginStoreRow code really obfuscates here.
Ideally it would be better if Submissions were rows in a normal Model?
Merged.
@davidkingham new update for you to test!
That did the trick, thanks guys!
1 Like