nextcloud / nextcloud/maps

[Bug]:

Open
#1,378 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: :star: favorites
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

⚠️ This issue respects the following points: ⚠️
Bug description

In Nextcloud version 30.0.4 and Maps version 1.5.0, I get this error after adding 4 Favorites to the default map. The UI then freezes, I can't interact with any Nextcloud UI elements except for the top bar. (Not even Settings or hiding/showing map elements or clicking POIs.) Results come back from Nominatim if I hit enter quick enough, but the UI is frozen so it doesn't have an effect. Creating a new Map, refreshing the page, and searching for POIs from that map works fine. Then, oddly enough, switching back to my Default map has the UI and search working again. Hmm.

Image

TypeError: e is undefined
    VueJS 18
        vi
        F
        F
        Dr
        _update
        a
        get
        run
        ia
        Cn
        yn
        promise callback*fn
        Cn
        ra
        update
        notify
        set
        set
    input vue-select.js:1
    VueJS 3
        hn
        n
        _wrapper
Steps to reproduce

Unsure. Add a lot of Favorites using Search. I did search for some items with no results, use the (X) Clear POIs button a few times, and encounter some lagging/freezing before giving up.

Expected behavior

The UI should continue working even if error conditions are encountered

Installation method

Other

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.1

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install of the server?

None

Is this bug present after an update or on a fresh install of the app?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps
n/a
Nextcloud Signing status

Nextcloud Logs

Browser Console

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the freeze in Maps 1.5.0 with four or more Favorites on the Default map, including searches with no results and clearing POIs. Inspect the browser console for the reported VueJS and vue-select.js TypeError, and compare behavior after switching to a new map and back. Done means the map UI remains responsive when these error conditions occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.