Skip to content

Failed to remove signs/channels (SQLite not updated) #217

@Ru1x

Description

@Ru1x

Bug report

I'm using version:4.0.4
I'm on Minecraft:1.12.2
I'm running:Paper

Seen results:
Removing any signs or /wr remove <Channel ID> does not remove records from SQLite DB therefore signs are re-generated once the server restarts

Expected results:
Destroying Signs immediately removes records from the database.

How to reproduce:

  1. Create the first sign (let's do transmitter), and name it wrtest
  2. You just created a new channel is shown
  3. Verify that Debug message are shown as well
[INFO]: [WirelessRedstone][Debug] Channel created in database. wrtest
[INFO]: [WirelessRedstone][Debug] Placed new WirelessPoint in the database
  1. Create another sign (maybe receiver)
  2. You just extended a channel is shown
  3. Verify that Debug message are shown as well
[INFO]: [WirelessRedstone][Debug] Placed new WirelessPoint in the database
  1. Verify database has these records on the table channel, transmitter, and receiver
  2. Destroy 2 signs
  3. 2x Successfully deleted this sign are shown
  4. Any Debug Message is NOT shown
  5. Database records still exist on the table channel, transmitter and receiver

Additional info:
Manually remove records from SQLite using external tools can delete channels entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions