Hi Sajith,

The warn log is printed when a 404 error occurs for a static file. By
> looking at the attached logs, seems that 'Roboto-*' fonts are missing and
> they are referred in a CSS file in the 'uuf.unit.lib.form-validation'
> unit. Remove that reference form the CSS file to resolve this.

That's the issue. "uuf.unit.lib.form-validation" unit does not have any
references for such 'Roboto-*' fonts. I did a grep for "'Roboto-*' and it
is only mentioned in a css in "uuf.unit.theme" unit.

Thanks,
Rasika

On Thu, Sep 1, 2016 at 11:13 PM, SajithAR Ariyarathna <[email protected]>
wrote:

> Hi Rasika,
>
> The warn log is printed when a 404 error occurs for a static file. By
> looking at the attached logs, seems that 'Roboto-*' fonts are missing and
> they are referred in a CSS file in the 'uuf.unit.lib.form-validation'
> unit. Remove that reference form the CSS file to resolve this.
>
> Thanks.
>
> On Thu, Sep 1, 2016 at 10:15 PM, Rasika Perera <[email protected]> wrote:
>
>> [+SajithAR]
>>
>> Hi Harshan,
>>
>> I can see the following WARN logs related to UI components when logging
>>> to the latest EMM pack (noticed after merging UUF work). Did anyone forgot
>>> to commit some files related to UI?
>>
>> I have also noticed this. After some analysis it is found that
>> "uuf.unit.lib.form-validation" unit does import none-of-above web fonts.
>> Only "uuf.unit.theme" unit is adding a css which has relative paths to
>> above web-font files.
>>
>> However, WARN logs got faded away with adding "combine=false" into the
>> "uuf.unit.lib.form-validation"'s css file import. This seems like a bug
>> for me.
>>
>> @Sajith
>> Would you shed some light on resolving this issue.
>>
>> Thanks,
>> Rasika
>>
>>>
>>> On Mon, Aug 29, 2016 at 4:57 PM, Harshan Liyanage <[email protected]>
>>> wrote:
>>>
>>>> +1 @dev
>>>>
>>>>
>>>> Harshan Liyanage
>>>> Senior Software Engineer
>>>> Mobile: *+94765672894*
>>>> Email: [email protected]
>>>> Blog : http://harshanliyanage.blogspot.com/
>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>> lean.enterprise.middleware.
>>>>
>>>> On Mon, Aug 29, 2016 at 4:51 PM, Harshan Liyanage <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I can see the following WARN logs related to UI components when
>>>>> logging to the latest EMM pack (noticed after merging UUF work). Did 
>>>>> anyone
>>>>> forgot to commit some files related to UI?
>>>>>
>>>>> [2016-08-29 16:36:16,991]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Light.woff2' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,000]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Thin.woff2' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,001]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Regular.woff2' does not
>>>>> exists in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,190]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Light.woff' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,218]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Regular.woff' does not
>>>>> exists in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,224]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Light.ttf' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,223]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Thin.woff' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,252]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Regular.ttf' does not exists
>>>>> in UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>> [2016-08-29 16:36:17,258]  WARN {static-file-router} -  Requested
>>>>> resource 'public/css/fonts/Roboto/Roboto-Thin.ttf' does not exists in
>>>>> UI Component 'uuf.unit.lib.form-validation' or its parents [].
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Harshan Liyanage
>>>>> Senior Software Engineer
>>>>> Mobile: *+94765672894*
>>>>> Email: [email protected]
>>>>> Blog : http://harshanliyanage.blogspot.com/
>>>>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>>>>> lean.enterprise.middleware.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> With Regards,
>>>
>>> *Rasika Perera*
>>> Software Engineer
>>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>>
>>> [image: wso2-signature-general.png] <https://wso2.com/signature>
>>>
>>> WSO2 Inc. www.wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> With Regards,
>>
>> *Rasika Perera*
>> Software Engineer
>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>
>> [image: wso2-signature-general.png] <https://wso2.com/signature>
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> <https://wso2.com/signature>
>



-- 
With Regards,

*Rasika Perera*
Software Engineer
LinkedIn: http://lk.linkedin.com/in/rasika90

[image: wso2-signature-general.png] <https://wso2.com/signature>

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to