Opened 10 years ago

Closed 7 years ago

#2949 closed defect (fixed)

journal: renaming a file on external disk drops its extension

Reported by: dsd Owned by: alsroot
Priority: Normal Milestone: Unspecified
Component: Sugar Version: 0.92.x
Severity: Minor Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

sugar-0.92.1 on OLPC OS 11.2.0 candidate build 871 on XO-1.5

  • Place a file called "test.py" on a USB disk
  • Plug into XO, open journal view of USB disk
  • Click on the "test.py" title and rename to "test_changed.py"
  • Journal view refreshes
  • After the refresh, the file is shown as "test_changed" - the .py extension has been mysteriously dropped (but is still present on the on-disk file)

Change History (4)

comment:1 Changed 8 years ago by dnarvaez

  • Component changed from journal to sugar

comment:2 Changed 7 years ago by walter

  • Priority changed from Unspecified by Maintainer to Normal

comment:3 Changed 7 years ago by godiard

  • Summary changed from renaming a file on external disk drops its extension to journal: renaming a file on external disk drops its extension

comment:4 Changed 7 years ago by Gonzalo Odiard

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

Don't remove the extension on external files - Fixes #2949

The file is renamed but the title lost the extension.
More information in the ticket. This change solves the problem
at save the metadata, but there are a remaining issue, the listview
is not correctly updated.

Changeset: 826f3466ddae10b7f9e0a0dd2ef8dbf3815a72dd

Note: See TracTickets for help on using tickets.