This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reproduced in build 060613. To the bug reproduce: - open a read-only schema file; - in schema view copy some component and paste it where applicable within the view. Exception is thrown as follows: java.lang.IllegalArgumentException: Model source is read-only. at org.netbeans.modules.xml.xam.AbstractModel.startTransaction(AbstractModel.java:280) at org.netbeans.modules.xml.xam.AbstractModel.startTransaction(AbstractModel.java:265) at org.netbeans.modules.xml.schema.ui.nodes.ComponentPasteType$PasteTypeImpl.paste(ComponentPasteType.java:148) at org.openide.actions.PasteAction$ActionPT.actionPerformed(PasteAction.java:773) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:74) at org.openide.actions.PasteAction$ActionPT.run(PasteAction.java:797) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
no pasting will be allowed in r/o schemas
Verified in build 060724.