akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Case sensitive task mapping from fof.xml #564

Closed f-liva closed 8 years ago

f-liva commented 8 years ago

In fof.xml this doesn't work:

<frontend>
    <view name="author">
        <taskmap>
            <task name="edit">read</task>
        </taskmap>
    </view>
</frontend>

but that does:

<frontend>
    <view name="Author">
        <taskmap>
            <task name="edit">read</task>
        </taskmap>
    </view>
</frontend>

Why in this configuration area FOF is case sensitive?

nikosdion commented 8 years ago

Because FOF has always been case sensitive and the classes in FOF3 begin with a capital letter. Of course if you cock it up and enter an all lowercase default view and setup the lowercase view it will work, but only because you completely cocked it up, not by design.

Nicholas K. Dionysopoulos Director, Akeeba Ltd https://www.akeebabackup.com Στις 24 Σεπ 2015 1:21 μ.μ., ο χρήστης "Federico Liva" < notifications@github.com> έγραψε:

In fof.xml this doesn't work:

read

but that does:

read

Why in this configuration area FOF is case sensitive?

— Reply to this email directly or view it on GitHub https://github.com/akeeba/fof/issues/564.

f-liva commented 8 years ago

I've understood, thank you NIcholas