nextcloud / maps

🌍🌏🌎 The whole world fits inside your cloud!
https://apps.nextcloud.com/apps/maps
GNU Affero General Public License v3.0
504 stars 88 forks source link

[Bug]: `Create share link` box has no effect in shared custom map #1286

Closed amalgame21 closed 5 months ago

amalgame21 commented 5 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

Create share link box has no effect in shared custom map. The Create share link button can create a better list view of all the favorite points, so people no longer need to click on every single point one by one to find the right favorite point.

Steps to reproduce

  1. In Default map in My maps, create favorites points.
  2. Use Add Map + sign in My maps to create a new custom map, name new custom map
  3. In Default map, use the Copy to map button in the favorite category 3-dot menu to share the favorites to new custom map
  4. Click 3-dot in new custom map and then click Share, and the share menu popped up. Click the + sign beside Share link, and then the + sign changed to 3-dot. Click on that 3-dot and click Copy link to map to get the shared link of the new custom map.
  5. Open other browser and paste the link in it. There is a Create share link button in 3-dot next to the favorite category but it has no effect.

Expected behavior

Create share link create a share link of a favorite category, which list out all the points one by one very clearly

Installation method

Other

Operating system

Other

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

PostgreSQL

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

Updated to a major version (ex. 22.2.3 to 23.0.1)

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

Configuration report

No response

List of activated Apps

Enabled:
  - activity: 2.21.1
  - calendar: 4.7.6
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contacts: 6.0.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - end_to_end_encryption: 1.15.2
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - groupfolders: 17.0.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - maps: 1.4.0
  - memories: 7.3.1
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - onlyoffice: 9.2.2
  - password_policy: 1.19.0
  - photos: 2.5.0
  - previewgenerator: 5.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - tasks: 0.16.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - twofactor_webauthn: 1.4.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Browser Console

No response

Additional info

Create share link button has no effect as described above, so users only having the shared custom map link cannot generate the list view of the favorite category. 1

The list view generated by Create share link from Default map favoirte category, generated by the map maker. 2