Closed Tweeticoats closed 1 year ago
The fix for this may be related to the fix for #3483
Couldn't reproduce the warning "Already exists in pmvstash.org" on https://github.com/stashapp/stash/commit/e9fa7d071e3587d393cedca735874214e06ff9d9. But found a similar issue.
Submit to Stash-Box
Close
Submit to Stash-Box
againSubmit
Submission failed
input: Type PerformerDraftInput not found. Check that the config array key for the type matches the name attribute in the type's class. It is required when 'lazyload_types' is enabled
For what it's worth, https://pmvstash.org is running and unmodified v0.4.6
stash-box.
I haven't looked into the issue beyond this.
What seems to have happened is the id's in the local stash have been messed up when updating an existing entry.
To Reproduce
The artist stashid has now been changed to pmvstash
Describe the bug When multiple stasbox endpoints are configured updating from one blocks submitting to another. I have the pmv stash and stashdb endpoints configured. I would like to pull performer info from stashdb and submit this to pmv stashdb it gets confused and tries to submit an update to stashdb.
There is a stashdb id on the performer, clicking the "submit to stash-box" and selecting the endpoint. Sometimes this detects that the stashdb endpoint already has a stash id and offers you to update this entry. Sometimes this wrongly detects that the pmvstash endpoint already has a stashdb and offers you to update this entry. I suspect the java script seems to not know what endpoint has an id and sometimes thinks that endpoint does not have an id yet.
To Reproduce
It does not happen always and half the time it correctly detects stashdb.org having the stashid and half the time pmvstash.org has the existing id.
Expected behavior stashdb.org should have the id and offer to update that entry as that has the id but sometimes it thinks pmvstash.org has the id and offers to update that.
Screenshots
Stash Version: (from Settings -> About): v0.19.1-38-ga081b628
Desktop (please complete the following information):