Quantcast

[Mayan EDMS: 1478] Upload new file from admin doesn't change pages informations

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 1478] Upload new file from admin doesn't change pages informations

Mauro Tintori
Hi Roberto,

i created a new version of an existing document, then from the admin page i uploaded a new file for that version.
Now the version is linked to the new file, but i noticed that the pages informations aren't changed, so in the preview in frontend i see the old document.
I'm doing something wrong or is a bug?

Thank you very much
Mauro

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 1484] Re: Upload new file from admin doesn't change pages informations

rosarior
Administrator
Hi Mauro,

The admin interface bypasses many model rules, manager rules, background tasks, and makes changes directly to the database.
This is probably what you are seeing. The way the Django admin interface work makes it very hard if not impossible to duplicate
the functionality that you see in the normal UI.

It is not explicit in the documentation but I don't recommend making changes using the admin interface, it is best used for fixing data
making direct changes to the database and only when users have learned enough about the way things work in Mayan.

The best way to fix the issue you are seeing is to delete the new document version and re upload it via the frontend UI.

I made a note to add this disclaimer about the admin interface in the documentation.

Thanks.

On Tuesday, January 10, 2017 at 7:53:46 AM UTC-4, Mauro Tintori wrote:
Hi Roberto,

i created a new version of an existing document, then from the admin page i uploaded a new file for that version.
Now the version is linked to the new file, but i noticed that the pages informations aren't changed, so in the preview in frontend i see the old document.
I'm doing something wrong or is a bug?

Thank you very much
Mauro

--

---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...