import/delete/update texture broken #21

Closed
opened 2019-06-08 21:57:14 +02:00 by localhorst · 3 comments
Owner
No description provided.
localhorst added this to the client 1.0 milestone 2019-06-08 21:57:14 +02:00
localhorst self-assigned this 2019-06-08 21:57:14 +02:00
localhorst changed title from update texture broken to import/delete/update texture broken 2019-06-09 10:13:49 +02:00
Author
Owner

the server sends an exception that the texture that will be modified is not stored on the server

the server sends an exception that the texture that will be modified is not stored on the server
localhorst added the
bug
label 2019-06-09 10:49:23 +02:00
Author
Owner

println(data.textureHash):

A5BAF2A31547322D68AA78F0EC931EEC6A80F0313A15499B95743A5B6527B36A

println(con.getTextureById(data.id)?.textureHash):

A5BAF2A31547322D68AA78F0EC931EEC6A80F0313A15499B95743A5B6527B36A

--> same, but on server

                if !data_store.delete(&delete) {
                return Err(ProtocolError::Conflict(
                    "Delete Texture was modified!".to_string(),
                ));

will be called

println(data.textureHash): A5BAF2A31547322D68AA78F0EC931EEC6A80F0313A15499B95743A5B6527B36A println(con.getTextureById(data.id)?.textureHash): A5BAF2A31547322D68AA78F0EC931EEC6A80F0313A15499B95743A5B6527B36A --> same, but on server if !data_store.delete(&delete) { return Err(ProtocolError::Conflict( "Delete Texture was modified!".to_string(), )); will be called
Author
Owner

closed with 08840c4c2b

closed with https://git.mosad.xyz/localhorst/TextureSync/commit/08840c4c2bed67e8db48df1bdff338777a099ad1
Sign in to join this conversation.
No description provided.