Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

404 error when accessing woff file

User_JV7C1Dec 21 2018 — edited Dec 21 2018

I am trying to consume a CCA in a consumer application. The CCA is delivered as a zip file which also contains the font file (.woff format) corresponding to the CCA. The CCA zip file is unzipped into the consumer application and i see the CCA's font file in the consumer application. The consumer application is optimized by using r.js, due to this the CCA files also get optimized when the consumer app is optimized by r.js. In the optimized output file, i see all CCA files content except for the woff file (I am not sure if it is supposed to be). Now the issue is, in the browser, i am getting 404 error when the font file is attempted to load.

How is a woff file packaged when r.js is used to optimize the app?

The path with which the woff file is attempted to load, seems right to me, when i use chrome dev tools, under 'Application' tab, under 'Fonts' i see the CCA font listed, but when i hover over it, i see 'Nothing to preview'. Wile i hover over the consumer app's woff file, i see some content.

The version of JET used 5.0.0, requirejs version: 2.3.6

Comments
Post Details
Added on Dec 21 2018
1 comment
408 views