Return error message for read-only files.

Deciphered - April 20, 2009 - 04:31
Project:Imagefield Import
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:wulff
Status:closed
Description

Hi,

I've been testing this module on a Windows XAMPP environment and had a few files that weren't being moved.
As I wasn't getting any error I wasn't entirely sure why they weren't being moved.

After further examination I discovered that all the files where marked as read-only and once I unset that status they were imported without further issue.

While it's only a minor thing, it probably couldn't hurt to put a check for that and report an error if it is the case.

Cheers,
Deciphered.

#1

wulff - November 21, 2009 - 12:05
Version:6.x-1.4-beta1» 6.x-1.x-dev
Priority:minor» normal
Assigned to:Anonymous» wulff

This would be fairly easy to implement, and the status of the individual files could be marked on the import form. In addition I'm thinking of adding an admin setting to decide whether the images should be deleted after they have been imported (it would be nice to be able to turn that off while testing).

#2

wulff - November 24, 2009 - 12:34
Status:active» fixed

I have added writable/non-writable labels to the files in the import form.

#3

System Message - December 8, 2009 - 12:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.