Skip to content

[Bug]: Can't open a folder with fragmented snippets #650

Closed as not planned
Closed as not planned

Description

@rico-kerscha

Describe the bug

When trying to open a folder with fragmented snippets nothing happens and an error is thrown into the console.

Image

I have only one folder with fragmented snippets and it's the only folder which doesn't open anymore.
Did the structure of fragments change somehow?

When i create a new folder with a fragmented snippet it's working.

I copied one of the affected snippets into a new folder directly via the database - the new folder is throwing the same error afterwards.

To reproduce

I have only one folder with fragmented snippets and it's the only folder which doesn't open anymore.
Did the structure of fragments change somehow?

When i create a new folder with a fragmented snippet it's working.

I copied one of the affected snippets into a new folder directly via the database - the new folder is throwing the same error afterwards.

App Version and Architecture

4.3.0

System info

Windows 11, x64

Validations

Activity

  1. rico-kerscha commented on Dec 12, 2025

    @rico-kerscha
    Author

    Edit: found that the issue only occurs when both fragments have different langauges set.
    Seems like in the past the fragments where created like this and since an update the behaviour changed.

    Image

    I manually set all NULL language values of my fragments to the value of the main fragment and i can reopen the folder again.

  2. antonreshetov commented on Jun 16, 2026

    @antonreshetov
    Member

    Closing as outdated.

    This issue was reported against an older version of massCode (v3/v4) that relied on the legacy storage system (db.json / SQLite). massCode v5 introduces a completely new architecture based on a markdown vault, and we no longer maintain or fix issues for versions below v5.

    If you can still reproduce this on the latest v5 release, please open a new issue with up-to-date reproduction steps. Thanks for your report and for using massCode!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions