WirelessRedstone icon indicating copy to clipboard operation
WirelessRedstone copied to clipboard

Failed to remove signs/channels (SQLite not updated)

Open Ru1x opened this issue 5 years ago • 0 comments

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.

Ru1x avatar Apr 28 '20 14:04 Ru1x