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

ZnMimePart>>#hasHeaders breaks in Pharo 12 #16338

Closed
jbrichau opened this issue Mar 23, 2024 · 0 comments
Closed

ZnMimePart>>#hasHeaders breaks in Pharo 12 #16338

jbrichau opened this issue Mar 23, 2024 · 0 comments

Comments

@jbrichau
Copy link
Contributor

Bug description
The method ZnMimePart>>#hasHeaders was changed in commit 031182e
to replace self headers isEmpty not by self headers isNotEmpty.

However, the return value of self headers is not a collection but an instance of ZnHeaders which does not understand isNotEmpty.

To Reproduce
Execute the WAUploadFunctionalTest in Seaside (https://github.com/SeasideSt/Seaside/tree/master/repository/Seaside-Tests-Functional.package/WAUploadFunctionalTest.class/).
See https://github.com/SeasideSt/Seaside/actions/runs/8402271471/job/23011499505 for a trace of the crash.

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

No branches or pull requests

2 participants