[Cuis-dev] Fwd: Bug Fix - class fileOut fails when comment is saved empty

Juan Vuletich juan at jvuletich.org
Sun Oct 6 06:32:07 PDT 2019


On 10/4/2019 2:33 PM, Sebastian Sujarchuk via Cuis-dev wrote:
> Hello!
>
> I've found a bug while trying to fileOut a class after saving an empty 
> comment.
>
> Steps to reproduce:
>
>    1. add a comment to a class and save
>    2. delete the comment and save again
>    3. fileOut
>
> This happens because the class organizer tries to save its 
> classComment when it has nil text.
>
> I have attached a fix for the BasicClassOrganizer that checks that the 
> classComment text is not nil as well as the object itself.
>
> Let me know what you think.
>
> Best regards,
> Sebastian.

Thanks! I just integrated this with a few minor tweaks. Also added your 
initials to the list of known code authors.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191006/a26ec3d0/attachment.htm>


More information about the Cuis-dev mailing list