Skip to content

Conversation

@Octol1ttle
Copy link
Contributor

@Octol1ttle Octol1ttle commented Mar 26, 2025

Example:
image

@Octol1ttle Octol1ttle changed the title Improve AttSync target null message AttSync: Disconnect when attachment target is null Mar 26, 2025
@modmuss50 modmuss50 added the enhancement New feature or request label Mar 28, 2025
Copy link
Member

@modmuss50 modmuss50 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs some form of testing, ideally automated if not a command that tried to do something funny would be fine.

@modmuss50
Copy link
Member

Hey @Octol1ttle no pressure, just wondering if you are planning on finishing this off, its so close to being done. Im happy to help/take over if you like.

@Octol1ttle
Copy link
Contributor Author

Sorry, this PR completely left my memory. I resolved the review comments, but I have zero idea on how to do the testing bit 😅

@Octol1ttle Octol1ttle requested a review from modmuss50 April 9, 2025 18:47
@modmuss50
Copy link
Member

Awesome, thanks for that. I'll take a look a testing, worse case I'll just do some manual testing.

@modmuss50
Copy link
Member

I have added a basic unit test, and marked the file to be translated.

@modmuss50 modmuss50 added the status: last call If you care, make yourself heard right away! label Apr 9, 2025
@modmuss50 modmuss50 added the status: merge me please Pull requests that are ready to merge label Apr 13, 2025
@modmuss50 modmuss50 merged commit f94390d into FabricMC:1.21.5 Apr 13, 2025
4 checks passed
modmuss50 added a commit that referenced this pull request Apr 13, 2025
* Add descriptive error message when receiving attachment changes for unknown targets

* fix line breaks...

* fix checkstyle

* use StringJoiner, disconnect on error

* Add pretty error message

* Make error message translatable, add AttachmentSyncException

* Break out of attachment application loop if there's an error

* Add a simple unit test for applying to an invalid target.

* Add lang file to be translated.

* woops

---------

Co-authored-by: modmuss50 <[email protected]>
(cherry picked from commit f94390d)
@Octol1ttle Octol1ttle deleted the improve-attsync-fail-message branch April 14, 2025 08:11
modmuss50 added a commit that referenced this pull request Apr 20, 2025
* Add descriptive error message when receiving attachment changes for unknown targets

* fix line breaks...

* fix checkstyle

* use StringJoiner, disconnect on error

* Add pretty error message

* Make error message translatable, add AttachmentSyncException

* Break out of attachment application loop if there's an error

* Add a simple unit test for applying to an invalid target.

* Add lang file to be translated.

* woops

---------

Co-authored-by: modmuss50 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request status: last call If you care, make yourself heard right away! status: merge me please Pull requests that are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants