Sergiu Dumitriu <sergiu(a)xwiki.com> writes:
Jean-Vincent Drean wrote:
> On Tue, Mar 11, 2008 at 9:29 PM, <Dowson_Jim(a)emc.com> wrote:
> Vincent Massol writes:
>>
>> >> - proper versioning (if 2 different users upload the same
>> document name)
>>
>> > What's not working with versioning of attachments? I don't recall
>> > seeing a problem about this.
>>
>> It might only be under 1.2 - but if someone downloads an attachment
>> created by a different user, updates it & then uploads the file
under
>> the same name, it does not appear as a
version of the prior
document -
>> it's a new document.
>>
>> To get around this we had to have folks doing updates to
authenticate
>> under the same username (for one particular
document).
>>
>
> FWIW I'm not able to reproduce it with 1.4M1 [1].
>
> [1] :
http://img206.imageshack.us/my.php?image=multipleauthorattachja4.png
>
I'm not able to see that link, but I take your word for it.
I am not able to reproduce it with 1.2.0 or 1.2.2, and
as far as I
know
nobody ever reported a similar problem, and there
never were any code
that considered the user name when uploading files.
Also, if the files have the same name, it is
impossible to store them
separately, as they are put in a table indexed (unique key constraint)
by a hash function on the attachment + wiki document
name.
There have been some error messages on the console for this instance
(1.2M2 upgraded to 1.2RC2).
I'll attempt to reproduce (per the user's experience) and let you know.
Thanks, Sergiu