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.
Document property is used by CES in error messages to show file name. So it result in incorrect message in dialogs eg. when document is changed externally and user want to save document modified in editor.
core-main #d7a3a55ba8db
core-main #a3a798829a7e New fix EditorCookie ec = getDataObject().getCookie(EditorCookie.class); cannot be called from changeFile because some people call changeFile from environment constructor like org.netbeans.modules.xml.multiview.XmlMultiViewEditorSupport$XmlEnv.<init>(XmlMultiViewEditorSupport.java:509) Now getCookie is called from file event handlers directly (fileDeleted and fileRenamed.
Integrated into 'main-golden', will be available in build *200812020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d7a3a55ba8db User: Marek Slama <mslama@netbeans.org> Log: #154095: Update document property Document.TitleProperty when dataobject is renamed/moved.