[GH-ISSUE #1697] [Issue]: quartermaster items periodically lose image assets #1678

Closed
opened 2026-10-27 06:05:39 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @stclaire on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1697

Originally assigned to: @SpicyMarinara on GitHub.

Summary

I'm not sure why, but every now and there, several items will lose their associated image assets and just revert to the default icon.

Affected package

Quartermaster v0.1.28

Expected behavior

Images stay once uploaded

Actual behavior

Periodically some of the images disappear.

Steps to reproduce

  1. Upload a bunch of images for items
  2. Play. Maybe reload your screen sometimes (not sure if related or not)
  3. Open quartermaster panel and notice missing images

Environment

  • Marinara Engine version: 2.5.1
  • Package version: v0.1.28
  • Install type: (source / installer / docker / termux / other) docker
  • Server OS: Linux 7.2.11-200.fc44.x86_64 (x64)
  • Client OS: Android 10
  • Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Mobile Safari/537.36

Logs, screenshots, or video

Additional context

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details
Originally created by @stclaire on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1697 Originally assigned to: @SpicyMarinara on GitHub. ## Summary <!-- What is wrong in one or two sentences? --> I'm not sure why, but every now and there, several items will lose their associated image assets and just revert to the default icon. ## Affected package Quartermaster v0.1.28 <!-- Package name or ID, or "catalog/repository" if the issue is not package-specific. --> ## Expected behavior Images stay once uploaded <!-- What should have happened? --> ## Actual behavior Periodically some of the images disappear. <!-- What happened instead? --> ## Steps to reproduce 1. Upload a bunch of images for items 2. Play. Maybe reload your screen sometimes (not sure if related or not) 3. Open quartermaster panel and notice missing images ## Environment - Marinara Engine version: 2.5.1 - Package version: v0.1.28 - Install type: (source / installer / docker / termux / other) docker - Server OS: Linux 7.2.11-200.fc44.x86_64 (x64) - Client OS: Android 10 - Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Mobile Safari/537.36 ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible. Do not include API keys or private chat data. --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details
bsakaguchi 2026-10-27 06:05:39 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 25, 2026):

@newfiesledneck

<!-- gh-comment-id:6403241381 --> @SpicyMarinara commented on GitHub (Oct 25, 2026): @newfiesledneck
Author
Owner

@newfiesledneck commented on GitHub (Oct 25, 2026):

@stclaire
Can you verify something for me?
Check in packages\server\data\gallery\quartermaster
And look for an image for the item that is missing its image. See if the filename matches the item name.
My theory is an item name is changing, so it is nolonger matching the file that was uploaded for it.
Images are fetched/matched to an item by name, so if they don't match, the item doesn't pull an image.
If you find an image for the item you had but the name doesn't match (Example "Blue cap" -> upload image, renamed item to "Blue Hat" -> Image stays named "Blue Cap" so it nolonger pulls the image), this is the cause. If you don't find an image for the item, then something else is causing it and i'll have to dig some more.

I tested that scenario, uploaded/generated an items image -> Renamed the item -> Refreshed page -> Image is missing -> Renamed item back to what it was -> Image is now showing again.

Two situations this can happen:

  1. The user (you) rename an item.
  2. The agent can’t rename an item, but it can remove one and add a near-copy, like “Leather Jacket” becoming “Worn Leather Jacket”. The new item/new name doesn't match the image filename, so it loses the image.

If that's what is causing this problem for you, Two workarounds for now, while I fix that:
Rename the item to match the image file OR rename the image file to match the item name.

I'll have to think of a way to keep an image synced to an item even if its name changes.
Please let me know whether that is the scenario you think you've encountered or not.

<!-- gh-comment-id:6403479986 --> @newfiesledneck commented on GitHub (Oct 25, 2026): @stclaire Can you verify something for me? Check in packages\server\data\gallery\quartermaster And look for an image for the item that is missing its image. See if the filename matches the item name. My theory is an item name is changing, so it is nolonger matching the file that was uploaded for it. Images are fetched/matched to an item by name, so if they don't match, the item doesn't pull an image. If you find an image for the item you had but the name doesn't match (Example "Blue cap" -> upload image, renamed item to "Blue Hat" -> Image stays named "Blue Cap" so it nolonger pulls the image), this is the cause. If you don't find an image for the item, then something else is causing it and i'll have to dig some more. I tested that scenario, uploaded/generated an items image -> Renamed the item -> Refreshed page -> Image is missing -> Renamed item back to what it was -> Image is now showing again. Two situations this can happen: 1. The user (you) rename an item. 2. The agent can’t rename an item, but it **can** remove one and add a near-copy, like “Leather Jacket” becoming “Worn Leather Jacket”. The new item/new name doesn't match the image filename, so it loses the image. If that's what is causing this problem for you, Two workarounds for now, while I fix that: Rename the item to match the image file OR rename the image file to match the item name. I'll have to think of a way to keep an image synced to an item even if its name changes. Please let me know whether that is the scenario you think you've encountered or not.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1678
No description provided.