Static resource bundles
Static resource bundles are not being recognized, as supported files(icon), and for some of them when right-click -> ic -> convert to bundles then error is being displayed, soemthing about reading zip file, or that option to convert to bundle is even not being displayed.
Scott, Pls look at this bug asap as we have a lots of work to do with pages now, and I already make 2 other peps to buy IC, and they are working with me now :)
Comments (7)
-
repo owner -
reporter Hi Scott I will attach logs when reproduce that issue, but pls take a look at screenshot attached .
This is css only static resource, I was trying zipping the file, uploading single css file to static resource, and it sometimes show option 'force save' and sometimes not even that one. No option Convert to bundle. When i put zip file to static resources dfolder manualy, and then click convert to static resource, then also I cant convert it back to bundle.
-
reporter And .resource files seems to be ok because I can reach them in explorer, and open normally with 7-zip, and all is fine.
-
repo owner Patryk, let me clarify one thing...are you trying to convert an arbitrary static resource that is just a CSS file into a bundle, or are you trying to convert a static resource that's really a zip file into a bundle? The latter is supported. The former is not. IC looks at the content type of the static resource via its meta.xml file and only presents the option to convert for those that are zip files.
-
reporter I tried both and noone is working. Does ic supports converting resource to bundle? If yes then it is also not available for me
-
repo owner Yes, this is a first-class feature of IC. Here's how it looks in practice:
I've shown the
meta.xml
for the file as well. Notice that the static resource's content type isapplication/zip
. IC uses the content type to determine if the static resource file is a zip archive and therefore a candidate to be converted into resource bundle. If it's not, you won't see that context menu option for the file.Does that help? Sorry...I'm probably just not understanding exactly what it is you're trying to do.
-
repo owner - changed status to resolved
Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.
- Log in to comment
Patryk, can you enable debug logging for static resources as documented here:
http://www.illuminatedcloud.com/support/debuglogging
then reproduce the issue and attach the resulting
idea.log
. Also, what are the content types of these static resources in theirmeta.xml
files?