Skip to content

Deleting a Field Occurs Despite Clicking Cancel #1116

Closed

Description

@chrisjlocke

Details for the issue

Wasn't sure if this was a bug (seems a bit dangerous if so!) or 'by design'.

Removing a field via 'Modify Database' and clicking Cancel performs the deletion anyway, with no 'Write Changes' or 'Revert Changes' being available.
Found this while testing for #1115 .

https://screencast-o-matic.com/watch/cbQVq3Iflu

The screencast deletes an index first, as I thought it was related, but its a red herring. I created a new table, saved changes, then deleted a field with no 'Write Changes' button.
Skip to 20 seconds in to ignore the index deleting bit.

Useful extra information

I'm opening this issue because:

  • DB4S is crashing
  • DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • Windows: ( version: 10___ )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using DB4S version:

  • 3.10.99
  • 3.10.0-beta*
  • 3.9.1
  • Other: ___

I have also:

Activity

  1. changed the title [-]Deleting a Field Is Permanent Despite Clicking Cancel[/-] [+]Deleting a Field Occurs Despite Clicking Cancel[/+] on Sep 1, 2017
  2. added
    bugConfirmed bugs or reports that are very likely to be bugs.
    on Sep 1, 2017
  3. justinclift commented on Sep 1, 2017

    @justinclift
    Member

    Ouch. Yep, that's a bug. Definitely the kind of thing which could catch people out. 😨

  4. MKleusberg commented on Sep 2, 2017

    @MKleusberg
    Member

    It should be fixed now. But maybe you can double check, especially to see if there are any other corner cases left? 😄 By the way, the index deleting bit was actually important. With an unmodified database it works as expected. But still, we might want to include this in a 3.10.1 release or so 😉 (together with #1115 etc).

  5. justinclift commented on Sep 2, 2017

    @justinclift
    Member

    Yeah, a 3.10.1 in a week or so would probably make sense. 😄

  6. added this to the 3.10.1 - Gaaah! milestone on Sep 2, 2017
  7. justinclift commented on Sep 18, 2017

    @justinclift
    Member

    @chrisjlocke Do you have time to verify this issue is fixed for you? 😄

  8. chrisjlocke commented on Sep 18, 2017

    @chrisjlocke
    MemberAuthor

    Sorry - yes, this now appears fixed. Can't seem to break it! 🍭

  9. justinclift commented on Sep 18, 2017

    @justinclift
    Member

    Thanks @chrisjlocke. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugs.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions