Ticket #124 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

File check-in broken

Reported by: pcosquer Owned by:
Priority: critical Milestone: openPLM-1.1 Official Release
Component: views Version: 1.1
Keywords: check-in javascript upload Cc:

Description (last modified by pcosquer) (diff)

The check-in of a file seems broken. If I try to check-in a file, I always get an error message:

A file named disque_frein.prt.2 is already linked to this document.

Steps to reproduce:

  1. Create a new document
  2. Add a file to this document (here: disque_frein.prt.2)
  3. Check-out the file
  4. Check-in the file:

4.1 Select the same uploaded file -> the error message appears
4.2 Click on the upload button : "Select at least one file" appears

It seems the javascript behind the upload form checks that the document does not already contains a file with the same name than the selected file.
This check is valid for a new file but is wrong for a check-in.

SVN revision: 1129 (trunk)

Browser: Firefox 12 and opera 9.80 (their caches were cleaned)

All tests are successfully passed.

Change History

comment:1 Changed 7 years ago by pcosquer

  • Version set to 1.1
  • Description modified (diff)

comment:2 Changed 7 years ago by zali

  • Status changed from new to closed
  • Resolution set to fixed

Done (revision [1131])

Note: See TracTickets for help on using tickets.