mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #209] [Issue]: Backwards Compatibility - Pre-1.5.0 Character Cards cannot edit embedded lorebooks, while post-1.5.0 imported characters can #80
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DarkPulse on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/209
Original opening post left below for transparency. The issue, as it turns out, is pre-1.5.0 imported characters do not have the same functionality as ones imported after 1.5.0.
Summary
Okay... third time's the charm. (#87, #184)
I'm not trying to annoy you by continually making this, I swear! But it's still not fixed at all unless I'm completely missing something, so I think I might be being misunderstood by what I mean by "embedded lorebook" here. I'll be a little more elaborate to be sure we're both on the same page.
If you select a character, along the left you can select "lorebook." This is a character's embedded lorebook, if they have one. If they don't, it will be empty, but if it is, it is filled with entries.
These entries cannot currently be activated/deactivated, added, modified, altered, or deleted in any way, shape, or form whatsoever. Essentially the end result is that a character who has an embedded lorebook is permanently stuck with whatever is written in their embedded lorebook, and it will be always active.
Naturally, this could theoretically cause conflicts if a user uses 2+ lorebooks and they have conflicting information with one another.
Expected behavior
These entries should be able to be activated/deactivated, added, edited, modifiable, and be deleted like if it were a standalone lorebook.
Actual behavior
What you see is what you get. Can't add, edit, delete, activate, or deactivate entries. Can't even expand the views to see the full entry.
Steps to reproduce
Environment
0279a09Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@shinishiho commented on GitHub (Apr 24, 2026):
There's a button in my case, somehow yours doesn't have that button lol.
https://github.com/user-attachments/assets/e662f3cf-ed43-4f3b-a19f-9eca05128c56
@DarkPulse commented on GitHub (Apr 24, 2026):
Hmm, you're right. Did you create yours in Marinara, or import it from SillyTavern?
Starting to think this might be to do with either SillyTavern imports, or the fact I imported in older versions of Marinara Engine (circa 1.4.7-1.4.8).
@shinishiho commented on GitHub (Apr 24, 2026):
I downloaded the card from Geechan's site, the lorebook is embedded to the card.
@DarkPulse commented on GitHub (Apr 24, 2026):
Right, but did you import that directly into Marinara Engine, or did you have it do the "Import from SillyTavern" stuff?
You definitely proved that there's something that changed between how you imported it and how I imported it, since you've got the options to modify it and I don't. Which means that either something changed in the importer and Marinara Engine isn't checking for these older version imports to allow the editing, or there's something weird in the "import from SillyTavern" step.
Honestly, my hunch now is more on that the older versions didn't check for it, and when that pasta lady updated the logic for it, that fixed it going forward, but at the same time there was no check re-scan of cards to populate the missing/added values. Which in theory would mean if I imported something now it'd be fine and correct (though I see they're still fixing up some ST import stuff), but these pre-existing imports haven't been updated to be editable.
@shinishiho commented on GitHub (Apr 24, 2026):
Hmm, I've never exported from SillyTavern.
In fact, I just downloaded a new character card on Geechan's site, and imported it. It is still working as normal.
@DarkPulse commented on GitHub (Apr 24, 2026):
So then we can probably chalk this up to a Pre-1.5.0 import, and these cards not being updated to be in line with the current spec.
Marinara (or whoever looks at this), is that possible to catch and do something about and have the next version check for and update these, if that's not too much to ask? Or would the only way be to re-import them again?
@ghost commented on GitHub (Apr 24, 2026):
is the lorebook didn't appear on the lorebook menu (not character lorebook tab)?
@DarkPulse commented on GitHub (Apr 24, 2026):
Correct, there is no Separate character lorebook for the character in the Lorebook menu.
@ghost commented on GitHub (Apr 24, 2026):
can you share the character
.jsonfile, i couldnt reproduce the issue@DarkPulse commented on GitHub (Apr 24, 2026):
Did some testing of my own - re-importing a character from SillyTavern that I'd made in the past now gives me a version of the character that has an editable embedded lorebook.
Therefore, this is no longer an issue of it not working, it's one that affects imports that were done in earlier versions of Marinara Engine (pre-1.5.0, I'm presuming, since I believe I imported these around 1.4.8) not being updated even as the character import stuff has been updated for new imports.
In other words, this is now a backwards compatibility thing. Do we have a way to check for older imports and update them to the sort of spec they'd be if they were freshly imported today? That'd be the ideal solution if possible, since otherwise it's basically "nuke the old characters and re-import them."
Right now it might not seem like a problem, but if imports get updated again, there will eventually be users who might get left in the lurch whose cards can't do things/have functionality without a fresh re-import. IMO there should be some form of sanity checking on characters to see if any of them deviate from the spec, and if they do, update the functionality to bring the old card up to parity with what a freshly imported card would get.
Changing title accordingly.
@SpicyMarinara commented on GitHub (Apr 28, 2026):
Shouldn't happen in the future, closing.