Closed jecisc closed 4 years ago
@jecisc could be related to changes done to Grease (https://github.com/SeasideSt/Grease/pull/106) to switch to the new filestream api in Pharo. Can you check which version of Grease is loaded? If 1.6.0 is loaded: can you verify by reverting to Grease 1.5.x ?
It would be great to have a small codesample that reproduces the bug so we can put it in a test.
The grease version loaded is the v1.5.1 because seside depends v3.4.2 on the v1.5.x.
I did some try. If I depend on Seaside v3.3.4 it works. On v3.4.0 it seems to fail.
v3.3.4 brings Grease v1.4.3 and v3.4.0 brings Grease v1.4.3 also. So the problem seems to come from Seaside and not from Grease.
I found the problem. It's linked to commit 9c33a56473841c0c6318a91873c30eda13491f76
Now SVG is marked as non binary. Thus, SVG files imported before this change are not in the right format for Seaside.
I can fix the problem by exporting my SVG files and importing them again.
So, there has been some change that an svg mimetype was seen as binary before, which is wrong... I cannot dive into it right now, but seems related.
Related to my last message: Because of the problem I don't know if we should fix something. If you think the same, you can close my issue.
ha... @jecisc you should read the 'breaking changes' when upgrading: https://github.com/SeasideSt/Seaside/releases/tag/v3.4.0 :p
Hi,
I have a bug with the latest Seaside on MDL (https://mdl.ferlicot.fr). This bug was not present in January but is now present.
The icon in the header does not appear anymore. When I try to explicitly load it in the browser, I get an error
MNU ByteArray>>isByteString
.The code to display the icon is:
The code of the logo can be seen here: https://raw.githubusercontent.com/DuneSt/MaterialDesignLite/development/src/Material-Design-Lite-Utils/MDLLibrary.class.st
But it is a byte array created by the file library when I imported the file.
I added a method #isByteString on ByteArray with an halt to get a stacktrace and here is the result:
The bug happens in Pharo 7 and 8 64bits.
Here is the dependency on Seaside been loaded: