Bug #34336

File list module shows old name after rename

Added by Susanne Moog over 1 year ago. Updated about 1 year ago.

Status:Resolved Start date:2012-02-27
Priority:Should have Due date:
Assignee:Steffen Ritter % Done:

0%

Category:-
Target version:6.0 final
Votes: 0

Description

I used the "extended view" -> "rename" feature to rename my css file from stylesheet.css to stylesheet2.css. The file was actually renamed but the file list module still shows the old file (name). trying to rename it again, results in an error (Destination "stylesheet32.css" existed already!).

History

Updated by Benjamin Mack over 1 year ago

  • Status changed from New to Accepted
  • Target version set to 6.0 final

This is due to the problem that the DB field "name" and the filename are differnt once you've renamed your file.

Maybe we should do these changes to it:

  • File list should show filename and not DB field "name"
  • When indexing, the field "name" should be written without the file extension.

Updated by Benjamin Mack over 1 year ago

  • Assignee set to Benjamin Mack

OK. This is how we should handle it throughout the backend:

  • We always show the title field in the backend
  • When indexing the title field, it is equal to the filename without the file extension

Updated by Benjamin Mack over 1 year ago

  • Assignee changed from Benjamin Mack to Steffen Ritter

Updated by Steffen Ritter about 1 year ago

I fixed this by adding the name to updateFile within storage...

Updated by Steffen Ritter about 1 year ago

  • Status changed from Accepted to Resolved

Also available in: Atom PDF