-
Bug
-
Resolution: Fixed
-
Normal
-
5.0.0
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
1. import Invoice-validation.xlsx
2. copy C11, paste at C12
Current Result
Feb 18, 2020 3:30:17 PM org.zkoss.zk.ui.impl.UiEngineImpl handleError
SEVERE:
java.lang.IllegalStateException: doesn't has ownership io.keikai.model.impl.DataValidationImpl@7b33ab77
at io.keikai.model.impl.SheetImpl.checkOwnership(SheetImpl.java:168)
at io.keikai.model.impl.SheetImpl.deleteDataValidation(SheetImpl.java:1873)
at io.keikai.model.impl.SheetImpl.deleteDataValidationRegion(SheetImpl.java:1891)
at io.keikai.model.impl.PasteCellHelper.pasteDataValidations(PasteCellHelper.java:384)
at io.keikai.model.impl.PasteCellHelper.pasteCell(PasteCellHelper.java:299)
at io.keikai.model.impl.SheetImpl.pasteCell(SheetImpl.java:2002)
at io.keikai.range.impl.RangeImpl$13.doInvoke(RangeImpl.java:886)
at io.keikai.range.impl.RangeImpl$ModelManipulationTask.invoke(RangeImpl.java:1763)
at io.keikai.model.util.ReadWriteTask.doInWriteLock(ReadWriteTask.java:43)
at io.keikai.range.impl.RangeImpl.pasteSpecial0(RangeImpl.java:936)
at io.keikai.range.impl.RangeImpl.copy(RangeImpl.java:818)
at io.keikai.range.impl.RangeImpl.copy(RangeImpl.java:823)
at io.keikai.api.impl.RangeImpl.paste(RangeImpl.java:208)
at io.keikai.api.CellOperationUtil.paste(CellOperationUtil.java:70)
at io.keikai.ui.impl.undo.PasteCellAction.applyAction(PasteCellAction.java:123)
at io.keikai.ui.impl.undo.AbstractCellDataStyleAction.doAction(AbstractCellDataStyleAction.java:96)
at io.keikaiex.ui.impl.UndoableActionManagerImpl.doAction(UndoableActionManagerImpl.java:51)
at io.keikai.ui.impl.ua.PasteHandler.processAction(PasteHandler.java:107)
at io.keikai.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:63)
at io.keikai.ui.impl.DefaultUserActionManagerCtrl.dispatchKeyAction(DefaultUserActionManagerCtrl.java:411)
at io.keikai.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:521)
at io.keikaiex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:324)
at io.keikai.ui.Spreadsheet$4.onEvent(Spreadsheet.java:466)
Expected Result
the source data validation is pasted
Debug Information
- copy another data validation like F10 and paste to C12 also produces the error