Page MenuHomeGitPull.it

Duplicate POI
Closed, ResolvedPublic6 Points

Description

We already have the possibility to duplicate a Media.

Let's also allow to duplicate a POI.

  • Frontend - example: https://beta.atlas.landscapefor.eu/poi-duplicate.php?poi_ID=18972
  • copy POI basic fields
  • deep-copy the thumbnail (so if you delete the new POI, you do not delete the old POI's thumbnail)
  • inherit all language-based fields
  • inherit related Medias
  • add quick action from POI edit page (footer)
  • inherit Archives
  • inherit related POIs
  • inherit related Tags
  • inherit group permissions

Revisions and Commits

Event Timeline

valerio.bozzolan triaged this task as Wishlist priority.
setareh.pedone raised the priority of this task from Wishlist to High.Jul 2 2024, 10:30
valerio.bozzolan changed the point value for this task from 1 to 6.Jul 3 2024, 19:39

Ho estremamente sottostimato la complessità della clonazione dei POI e dei Media, perchè facendo varie prove, clonando un vecchio Media con la funzione già esistente...

...poi eliminando il nuovo Media, viene spesso persa la foto del Media vecchio. Quindi sto ripulendo questo errore madornale almeno dalla nuova implementazione del "clona POI", per correggerla anche dal "clona Media".

valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 3 2024, 20:00
valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 3 2024, 20:20
valerio.bozzolan added a commit: Restricted Diffusion Commit.
valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 4 2024, 01:05
valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 4 2024, 01:17
valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 4 2024, 01:21
valerio.bozzolan updated the task description. (Show Details)
valerio.bozzolan added a commit: Restricted Diffusion Commit.Jul 4 2024, 01:31