Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception during save prevents renaming the tab. (eXide version 2.0) #26

Closed
bkisdi opened this issue Jul 7, 2013 · 1 comment
Closed

Comments

@bkisdi
Copy link

bkisdi commented Jul 7, 2013

I use eXist-db 2.0 (installed from eXist-db-setup-2.0-rev18252.jar) on Windows XP, with Chrome version 27.0.1453.116.

Steps to reproduce:

  1. Create a new document in eXide (File / New), type: XML.
    A new tab is open, the name is (e.g.) new-document 2.
  2. Type in something nonsense, e.g.
    asdf
  3. Click Save.
    The Save Document dialog appears.
  4. Type a name, e.g. asdf.xml
  5. Click Save.
  6. eXide reports: The XML parser reported a problem: fatal error at (1,1) : Content is not allowed in prolog.
  7. Click OK in the error dialog.
  8. Click Cancel in the Save Document dialog, as it can't be saved now.
  9. Correct the error, e.g.
    <asdf/>
  10. Click Save. The document name is not asked again, it's saved as asdf.xml, BUT the tab name remains new-document 2! And it is IMPOSSIBLE to close that tab! The status bar below the editor shows /db/..../asdf.xml. Actually I can have TWO new-document 2 tabs, if I repeat this test. AND there is the * after the tab captions as the document weren't saved.
    The same bug occours if an existing document contains syntax error and is Saved As another name: the status bar is updated, but the tab caption is not!
@wolfgangmm
Copy link
Member

Fixed. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants