All pictures of a document replaced by las inserted one
Asked by Frederic Risch:

Hi

I' running Confluence Server with version: Confluence 7.18.3

And noticed that for some existing pages, pasting a new image using "Paste Ctrl V", all existing images pasted on the same way on the pag were replace by the last one.

Looking at the history of the page, i found that even the previous versions changed.

in other words, pasting an image from buffer, all pictures pasted on the same way in the document were changed loosing even what was done in previous versions!


Answers:
author: WW
body: Have you read [this post](https://community.atlassian.com/t5/Confluence-questions/Pictures-are-changing-and-repeating-in-pages-I-create-how-can-I/qaq-p/1562842)? Not sure if it's the same problem.

Though, it sounds like, in your case, the timestamp is not inserting after the word "image" like it should. Maybe there's a placeholder "n" that's not getting replaced?

If there are other date/time issues happening on your instance, I'd make sure all the date/time settings are ok in Confluence and your server.

Otherwise, that sounds like a bug that you should report to Atlassian, or at least get assistance from them to make sure everything is configured correctly.


author: Frederic Risch
body: Here the "Source of the Page": where you can notice that many pictures have the same name "imagen.png"

```
<ac:layout><ac:layout-section ac:type="single"><ac:layout-cell><h2>Andorra</h2><p style="margin-left: 40.0px;">Factura: 910603639</p><p style="margin-left: 40.0px;">Un Solicitante: 200851 (cliente de Andorra)</p><p style="margin-left: 40.0px;">Destinatario de mercancia : 205533 Andorra</p><p style="margin-left: 40.0px;">Destinatario de Factura : 204438 Espa&ntilde;a</p><p style="margin-left: 40.0px;">Pagador : 204438 Espa&ntilde;a</p><p style="margin-left: 40.0px;"><br /></p><p style="margin-left: 40.0px;">Hace tiempo, existia una forme de pasar un pedido, para que saliese el IVA aunque el destinatario de mercancia no sea Espa&ntilde;a. <span style="color: rgb(255,0,0);"><strong>&rarr; Ver en SAP, historial con mismo numero de cliente </strong></span></p><p style="margin-left: 40.0px;">Pero ultimamente, hay que usar la transaccion VK12, para hacer un cambio manual en el IVA, y despues de la facturacion, retrocederlo. Todo eso, bloqueando el pedido, para estar avisado cuando procede.</p><p style="margin-left: 40.0px;"><br /></p><p style="margin-left: 40.0px;"><br /></p><p style="margin-left: 40.0px;"><br /></p><p style="margin-left: 40.0px;">Esto es un problema, porque el proceso necesita buena coordinacion ademas de un riesgo de error importante.</p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><h2>Comprobacion</h2><p style="margin-left: 40.0px;"><ac:image ac:width="900"><ri:attachment ri:filename="imagen.png" /></ac:image></p><ul><li>Tiene Identificador Fiscal (NIF)<br /><ac:image ac:height="400"><ri:attachment ri:filename="imagen.png" /></ac:image> <ac:image ac:width="446"><ri:attachment ri:filename="imagen.png" /></ac:image></li><li>Solicitante &lt;&gt; Pagador (es el caso: 204438 RG vs 200851 AG ) &rarr; debe de tomar el IVA de Pagador<br /><ac:image ac:height="400"><ri:attachment ri:filename="imagen.png" /></ac:image></li></ul><p><br /></p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><h2>Argelia (otro caso)</h2><p style="margin-left: 40.0px;">Cliente : 205670 / Pedido: 3762219</p><p style="margin-left: 40.0px;">en este caso era para que aparezca tambien el IVA</p><p style="margin-left: 40.0px;">Contestacion de <ac:structured-macro ac:name="contact-list-mentions" ac:schema-version="1" ac:macro-id="6f779440-9d9b-40d5-8624-4e9c69725b46"><ac:parameter ac:name="current">Phil D...</ac:parameter><ac:parameter ac:name="original">Phil ...</ac:parameter><ac:parameter ac:name="id">3</ac:parameter></ac:structured-macro></p><p style="margin-left: 40.0px;"><ac:structured-macro ac:name="view-file" ac:schema-version="1" ac:macro-id="7e13a201-55ea-4b25-9058-ffaeb1d2d72b"><ac:parameter ac:name="name"><ri:attachment ri:filename="Phil.pdf" /></ac:parameter><ac:parameter ac:name="height">250</ac:parameter></ac:structured-macro></p></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><h2>Pruebas en MAT</h2><p style="margin-left: 40.0px;">He hecho este pedido en MAT: 3545387</p><ul><li style="list-style-type: none;"><ul><li>Entrega Andorra.</li><li>Factura La ... ( Espa&ntilde;a)</li><li>Tiene que ir con Iva.</li></ul></li></ul></ac:layout-cell></ac:layout-section><ac:layout-section ac:type="single"><ac:layout-cell><h2>Antes se hacia asi para forzar el IVA</h2><p style="margin-left: 40.0px;"><strong>Pais receptor fiscal</strong></p><p style="margin-left: 40.0px;"><ac:image ac:width="600"><ri:attachment ri:filename="imagen.png" /></ac:image></p><p style="margin-left: 40.0px;"><strong>a&ntilde;o 2019</strong></p><p style="margin-left: 40.0px;"><ac:image ac:style="max-height: 250.0px;" ac:thumbnail="true" ac:height="250"><ri:attachment ri:filename="imagen.png" /></ac:image>&rarr; interlocutores igual que ahora (RG &lt;&gt; AG) <ac:image ac:style="max-height: 250.0px;" ac:height="250"><ri:attachment ri:filename="imagen.png" /></ac:image>+ Pais receptor ES <ac:image ac:style="max-height: 250.0px;" ac:thumbnail="true" ac:height="250"><ri:attachment ri:filename="imagen.png" /></ac:image></p></ac:layout-cell></ac:layout-section></ac:layout>
```


Tags: confluence-server

server