Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAKomEncoded fails serving CSS files from WAExternalFileLibrary #606

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link


What steps will reproduce the problem?

1. Create a File Directory Request Handler pointing to a directory containing a 
css file.

2. In a WAComponent application, in the updateRoot method, reference the css 
file, e.g.

    anHtmlRoot stylesheet url: 'css/myfile.css'. 

3. Open the application, observe that the css file is not returned.

What is the expected output? What do you see instead?

Expect the css file contents, receive instead

    Internal Error: ByteArray>>isByteString


What version of the product are you using? On what operating system?

Seaside 3.0, Pharo 1.1,11411, Ubuntu Linux 9.10


Please provide any additional information below.

The error appears to be coming from this method: 

    GRPharoUtf8CodecStream>>nextPutAll: aString

    aString isByteString
        ifTrue: [ self encodeFast: aString ]
        ifFalse: [ self encodeDefault: aString ]

which would explain why it does not occur in the unencoded WAKom.

Original issue reported on code.google.com by tony.fl...@gmail.com on 28 Oct 2010 at 12:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant