Page 1 of 1

Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Posted: Thu May 11, 2023 12:08 pm
by Vince
Hello,

Our framework define a 'page.html' resource in the "web" subfolder.

Code: Select all

    <webResources inherit="all">
          <addEntry path="${frameworkDir}/web/additional-framework-custo.js"/>
          <addEntry path="${frameworkDir}/web/page.html"/>
    </webResources
>

With 25.0 version, fetching the resource from sync.ext.Registry.extensionURL + 'page.html` is succeed.
Starting from 25.1 version, http get returns a 404.

Is there any adjustments to be made in our framework ?
Is there any workaround ?

Thanks a lot

Regards,
Vincent

Re: Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Posted: Thu May 11, 2023 2:07 pm
by cristi_talau
Hello,

In the past, all the files in the

Code: Select all

web
directory were loaded, regardless of what was configured in EXF. Now, Web Author takes the path that you append to

Code: Select all

sync.ext.Registry.extensionURL
and searches for it in all folders that are configured as webResources .

What you could do is to move the page.html file in a separate folder and add the entire folder as webResource.

Best,
Cristian

Re: Static resources from the Framework Directory not available after upgrading to oXygen Web Author 25.1

Posted: Thu May 11, 2023 4:38 pm
by Vince
Ok, thank you for your reply. It works now.

Regards
Vincent