Submitted by Tom on 2009/11/10 11:54
Drag drop file to IQ:-
 
In the Properties pane of the linked file/item:
change the FileName field in any way (Edit / Paste new name in)
press return
->
The FilePath field content is deleted. This happens when I change file name via Filled fields, via a Form, or via Available fields.  I have to re-add the path manually
 
Can anyone confirm this ?
(happens every time here so seems a pretty definite bug)
 

Comments

To prevent this, in the properties of field "FileName" >> Equations >> Auto-assign, remove "filepath" (or turn the equation Off)
 
Background:
 
Auto-assign format is "Modes:SomeField=SomeValue", where Modes can be any of  AME. If no mode is specified, AME is assumed. Since you're erasing FileName, it also erases the FilePath field
 
This is by design
 
p.s. I'll update the sample IQBase to remove this equation, and hence this behaviour
 

Tom

2009/11/11 13:19

In reply to by Pierre_Admin

[quote=Pierre_Admin]
To prevent this, in the properties of field "FileName" >> Equations >> Auto-assign, remove "filepath" (or turn the equation Off)
 
Background:
 
Auto-assign format is "Modes:SomeField=SomeValue", where Modes can be any of  AME. If no mode is specified, AME is assumed. Since you're erasing FileName, it also erases the FilePath field
 
This is by design
 
p.s. I'll update the sample IQBase to remove this equation, and hence this behaviour
[/quote]
 
thanks for that solution Pierre - as often when things go funny I didnt think logically to check that...
Probably better not there as filenames sometimes have to be changed !