Hi Michal,

this is indeed not an issue that needs fixing. If you choose to name  
you module or action "admin" because you prefer lower-case letters at  
the start we let you do this. You'll need to refer to it as "admin"  
with a lower case letter any where else in the code. Or do I miss  
something and it fails even if you're using the same case everywhere?

felix

On Oct 26, 2009, at 10:04 AM, Benjamin Börngen-Schmidt wrote:

> Hi there,
>
> yes if you use a case insensitive FileSystem it does not matter if you
> write admin or AdMin. I had the same experience, when coding a app on
> OS X :)
>
> What I did not understand was your second question.
> If you have named the Module "Admin" and then use "admin" as module
> name on the action-create It will fail on OS X. But this is not really
> an issue of Agavi, but rather a OS weirdness.
> Just use your self a coding convention saying, that all Modules start
> with an upper case letter and then also use this while coding, then
> you'll be fine.
>
> Cheers
> ---
> Benjamin Börngen-Schmidt
> [email protected]
>
>
>
> Am 24.10.2009 um 13:38 schrieb Michal Charemza:
>
>> Hi,
>>
>> I recently found an issue when moving a project over from Mac to
>> Linux. I found if I create a module
>>
>> "Admin"
>>
>> Then on a Mac using the
>>
>> AgaviContext::getModel
>>
>> method works using both "admin" and "Admin", but fails on linux: I'm
>> assuming this is due to the fact that Mac has a case insensitive file
>> system...?
>>
>> Also, when creating an action using "agavi action-create" and  
>> entering
>> "admin", the script works fine with no error, but the lower case
>> "admin" is used in paths / class names (and the class names do then
>> fail on Mac). I wonder if these issues should be fixed somehow...?
>>
>> Michal.
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.agavi.org/mailman/listinfo/users
>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>

--
Felix Gilcher

Bitextender GmbH
Paul-Heyse-Str. 6
D-80336 München

T: +49 89 57 08 15 16
F: +49 89 57 08 15 17
M: +49 172 840 88 28

[email protected]
http://www.bitextender.com/

Amtsgericht München, HRB 174280
Geschäftsführer: David Zülke, Florian Clever


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to