Summary: | XOR function has been implemented wrongly | ||
---|---|---|---|
Product: | [Applications] calligrasheets | Reporter: | Freek de Kruijf <freekdekruijf> |
Component: | general | Assignee: | Calligra Sheets (KSpread) Bugs <calligra-sheets-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | inge |
Priority: | NOR | ||
Version: | 2.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | XOR fix |
Description
Freek de Kruijf
2011-04-18 23:27:16 UTC
Created attachment 59250 [details]
XOR fix
This should fix it (but untested).
Are you serious to produce and release code that you did not test on proper functioning? The change is a no-brainer, why don't you verify the fix? You reported the bug, so you should know how to trigger it. I have never used calligra-tables, so I don't even know how I can test the XOR function. I don't know when the new version with the patch arrives in an update to my distribution, openSUSE. It is only at that moment that I can test the change. Tables is just the new name for KSpread, and it works as a spreadsheet application. To test you only need to enter "=XOR(False;True;True;True)" without the quotes in a cell and observe the outcome; should be True. Add another True as argument and the result should be False, etc. Git commit e6c0736543820b1fe4a73c89eb1f85284103f8ef by Inge Wallin. Committed on 03/06/2011 at 16:44. Pushed by ingwa into branch 'master'. Fix bug 271251: XOR function has been implemented wrongly BUG:271251 The analysis By Christoph Feck in commnet #1 is spot on, and so was the attached patch. I just changed it a tiny amount. Thank you very much. It's a bit embarrassing that we let this fundamental bug through. M +2 -2 tables/functions/logic.cpp http://commits.kde.org/calligra/e6c0736543820b1fe4a73c89eb1f85284103f8ef I forgot to write: This fix will be in 2.4 snapshot 2, which is released on June 14th according to http://community.kde.org/Calligra/Schedules/2.4/Release_Plan . |