[pLog-svn] r5203 - plog/branches/lifetype-1.2

Oscar Renalias oscar at renalias.net
Tue Mar 27 17:47:21 EDT 2007


Crap, do you think this could be related to this issue?

http://forums.lifetype.net/viewtopic.php?t=6201

It seems that some files that had uppercase extensions were not  
converted properly during the installation process...

If this is the case, we should perhaps speed up 1.2.1 and release it  
sooner than we thought, this could be a pretty major issue.

On 27 Mar 2007, at 23:59, Mark Wu wrote:

> Hi Oscar:
>
> This fix is for those preview files. The preview files' extension were
> converted to lower case in LifeType 1.1
>
> If we do not convert the extension in resource transformer, we  
> won't convert
> those preview files correctly.
>
> ** And I fixed the wrong line, it should be line 1800.
>
> Mark
>
>> -----Original Message-----
>> From: plog-svn-bounces at devel.lifetype.net
>> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of
>> Oscar Renalias
>> Sent: Wednesday, March 28, 2007 4:28 AM
>> To: plog-svn at devel.lifetype.net
>> Subject: Re: [pLog-svn] r5203 - plog/branches/lifetype-1.2
>>
>> So you're saying that we had an issue with files whose
>> extension was in upper case? Or in lower case? Or what, I
>> don't understand the fix :-)
>>
>> On 27 Mar 2007, at 23:28, mark at devel.lifetype.net wrote:
>>
>>> Author: mark
>>> Date: 2007-03-27 16:28:23 -0400 (Tue, 27 Mar 2007) New
>> Revision: 5203
>>>
>>> Modified:
>>>    plog/branches/lifetype-1.2/wizard.php
>>> Log:
>>> Fix a resource transformers bug.
>>>
>>> In 1.1 implementation, the filename will convert to blogid-
>>> resourceid.extension. The extension will also converted to
>> lower case.
>>>
>>> So, we need to add this fix, or the upgrade wizard can't find those
>>> encoded files in 1.1.
>>>
>>> Modified: plog/branches/lifetype-1.2/wizard.php
>>> ===================================================================
>>> --- plog/branches/lifetype-1.2/wizard.php	2007-03-27
>> 20:18:53 UTC
>>> (rev 5202)
>>> +++ plog/branches/lifetype-1.2/wizard.php	2007-03-27
>> 20:28:23 UTC
>>> (rev 5203)
>>> @@ -1772,7 +1772,7 @@
>>>  				
>>>  				// get the file extension
>>>  				if(( $extPos = strrpos(
>> $row["file_name"], "." )) !== false )
>>> {					
>>> -					$fileExt = substr(
>> $row["file_name"], $extPos+1, strlen( $row
>>> ["file_name"] ));
>>> +					$fileExt = strtolower(
>> substr( $row["file_name"], $extPos+1,
>>> strlen( $row["file_name"] )));
>>>  				}
>>>  				else {
>>>  					$fileExt = "";
>>>
>>> _______________________________________________
>>> pLog-svn mailing list
>>> pLog-svn at devel.lifetype.net
>>> http://limedaley.com/mailman/listinfo/plog-svn
>>>
>>
>> _______________________________________________
>> pLog-svn mailing list
>> pLog-svn at devel.lifetype.net
>> http://limedaley.com/mailman/listinfo/plog-svn
>>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list