bugGrammatica - Bugs: bug #8220, Outputing over an existing file...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8220: Outputing over an existing file that is read-only

Submitted by:  Adrian Moore <AgentSmith>
Submitted on:  Fri 19 Mar 2004 09:16:14 PM UTC  
 
Severity: 1 - MinorItem Group: Software
Status: NoneAssigned to: Per Cederberg <cederberg>
Open/Closed: Open

Sat 20 Mar 2004 01:22:46 AM UTC, comment #2:

Not to be obstinate, but I think I'd rather see a nice error message naming the file and the reason for the failure ("file is read-only"). The users of Grammatica are developers and as such they are less likely to do these things by mistake. For ordinary desktop users (on Windows), however, I'd also opt for some "intelligence" in the program.

Also, I suspect this might happen if you try to overwrite files on a shared volume where you only have read access. In that case, we can't really changed the file to read-write anyway...

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.
Fri 19 Mar 2004 09:18:17 PM UTC, comment #1:

Removing the read-only attribute on the existing file seems to be the right thing to do.

Adrian Moore <AgentSmith>
Fri 19 Mar 2004 09:16:14 PM UTC, original submission:

When using Grammatica to generate C# or Java files, the software crashes with an internal error if any one of the files to generate is read-only.

Adrian Moore <AgentSmith>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 21 May 2005 08:17:16 PM UTCcederbergAssigned toAgentSmith=>cederberg
Fri 19 Mar 2004 09:18:17 PM UTCAgentSmithAssigned tocederberg=>AgentSmith

Back to the top


Powered by Savane 3.1-cleanup1