Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for dropTarget not being null in addDropTarget #1

Merged
merged 1 commit into from
Jan 18, 2018

Conversation

rreganjr
Copy link
Contributor

There is a problem with Drag and Drop interaction with echopointng Tree. When a tree node is collapsed and nodes from the branch contain drop targets the targets may not be found in the DOM tree any longer. When the ExtrasDragSource.MessageProcessor processes init messages in processInit() to add the drop targets a null element is referenced. I changed the code to check that dropTarget isn't null. I hit this back in 2009 on a school project before this project was in github. I recently was working on the project porting to maven and saw these files were in maven central, but hit the problem again.

There is a problem with Drag and Drop interaction with echopointng Tree. When a tree node is collapsed and nodes from the branch contain drop targets the targets may not be found in the DOM tree any longer. When the ExtrasDragSource.MessageProcessor
processes init messages in processInit() to add the drop targets a null element is referenced. I changed the code to check that dropTarget isn't null. I hit this back in 2009 on a school project before this project was in github. I recently was working on the project porting to maven and saw these files were in maven central, but hit the problem again.
@bentolor bentolor merged commit ceaa257 into echo3:master Jan 18, 2018
@bentolor
Copy link
Member

Thank you for your contribution, @rreganjr
You already tackled this in your Maven project or should I have a look to release a new version on Maven central (which may require some ramp-up time. That's why I'm asking).

@rreganjr
Copy link
Contributor Author

I'm using a fixed version in my local maven repo so I'm good for now. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants