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.
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)
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!
@davidkingham We’ve found the issue and will be merging a fix shortly.
Reviewed and merged.
@davidkingham let us know how you get on
thanks to @angus for jumping in here as SME on this plugin.
I see a user now, unfortunately it’s the same user for every submission:
Whoooops @angus we need to look at this again.
We probably both tested with just one consistent user?
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?
@davidkingham new update for you to test!
That did the trick, thanks guys!