[Cuis-dev] Fwd: Bug Fix - class fileOut fails when comment is saved empty
Sebastian Sujarchuk
ssujarchuk at gmail.com
Fri Oct 4 10:33:38 PDT 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191004/ec95f1ac/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comment_file_out_fix -ss.1.cs.st
Type: application/octet-stream
Size: 1651 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20191004/ec95f1ac/attachment.obj>
More information about the Cuis-dev
mailing list