Skip to content

Shared_datasets layer vanishing #7004

@miamymia

Description

@miamymia

What is the bug or the crash? What were your expectations and what actually happened?

Hi Community,
When I open a QField Project as a Background map that uses datasets (e.g. xyz.gpkg), which are located in the 'shared_datasets' Project. When trying to import another (localised) layer (e.g. abc.gpkg from 'Imported datasets') into the background map, the xyz.gpkg from shared_datsets is no longer available. Instead an error message: 'The following layers could not be loaded, please review those and reconfigure the QGIS Project. XYZ localized:xyz.gpkg|layername=xyz. This happens since the last update of QField 4.0.4, before that everything worked as expected. It still exists in 4.0.5.
It would be great if somebody could help here!
Thank you and all the best,
Mia

Steps to reproduce the issue

  • Open 'QField Cloud Projects'
  • Select a project that uses layers from shared_datasets
  • open as background map
  • press 'Return Home'
  • open 'Local projects and datasets'
  • select a dataset from 'imported datasets'
  • the above mentioned error moessage shoud appear

Version

4.0.4, 4.0.5

Operating system name

Android

Operating system version

Android Version 15

Reinstall QField

  • I have a fresh install of the latest QField version, but the problem persists.
  • Problem can be reliably reproduced, doesn't happen randomly.
  • Problem happens with all files and projects, not only some files or projects.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions