nextcloud / nextcloud/maps

[Bug]: cant delete imported kml

Open
#845 12 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

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

I really need a map app. but after importing a bigger kml file i can't delete it because it's done by the url DELETE /nc/index.php/apps/maps/favorites?ids[]=2452&ids[]=2453&ids[] etc very long request and this is causes html error 414

Steps to reproduce
  1. import kml from more than +- 300 points
  2. try to remove it and nothing happend
  3. watch apache access log
Expected behavior

want to remove unused imports

Installation method

Web installer on a VPS or web space

Operating system

Debian/Ubuntu

PHP engine version

PHP 7.4

Web server

Apache (supported)

Database engine version

No response

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

No response

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

No response

Are you using the Nextcloud Server Encryption module?

No response

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

No response

List of activated Apps
- breezedark: 23.2.2
  - bruteforcesettings: 2.4.0
  - circles: 23.0.1
  - cloud_federation_api: 1.6.0
  - contactsinteraction: 1.4.0
  - dav: 1.21.0
  - deck: 1.6.3
  - federatedfilesharing: 1.13.0
  - files: 1.18.0
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - lookup_server_connector: 1.11.0
  - maps: 0.2.1
  - music: 1.6.0
  - oauth2: 1.11.0
  - onlyoffice: 7.4.4
  - password_policy: 1.13.0
  - photos: 1.5.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - ransomware_protection: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - survey_client: 1.11.0
  - text: 3.4.0
  - theming: 1.14.0
  - twofactor_backupcodes: 1.12.0
  - unsplash: 1.2.5
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Nextcloud Signing status

No response

Nextcloud Logs

No response

Browser Console

No response

Additional info

No response

Thumbs up this issue if you are facing the same problem

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 tracing the Maps app's DELETE /nc/index.php/apps/maps/favorites endpoint and reproduce the failure with an imported KML containing more than about 300 points. Done means unused imported points can be removed successfully without Apache returning HTTP 414 for an overly long request.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, javascript, php
Domain
api, backend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.