Apache OpenOffice (AOO) Bugzilla – Issue 108860
Validation can't work correctly.
Last modified: 2017-05-20 09:32:09 UTC
Steps: 1.Open the sample file 2.Click button "AddRangeTo10" and button "AddList" Defects: 1. Cells "A2:B4" are applied with validation rule. In excel, if you input a value( 1 <= Value <= 10 ), no error message pops up; In Symphony, no matter what the value is, an error alerts. 2. Cells "A8:B9" are applied with validation list, but the list isn't right.See the attachment.
1. Root Cause: In ScVbaValidation::Add(), the input parameter "Operator" of Range.Validation.Add is not passed to the SC core function. 2. Resolution: Add codes to pass the input parameter "Operator" to SC core function.
Created attachment 67542 [details] Fix for this issue
the same document to test is missing, the patch looks ok though, please commit and take of the upstreaming ( and add the test sample here too )
Created attachment 68308 [details] Test sample for this issue.
Created attachment 77192 [details] Update to apply to Apache OO This is yet untested but it looks good.
The test document didn't really work as intended: there is a command button and nothing else(?). I applied the patch and things seem to work ok. Committed as revision 1242846: "Fix range validation. Patch by lihuiibm." Thanks