[
https://issues.jboss.org/browse/RF-12675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12797153#comment-12797153
]
Brian Leathem commented on RF-12675:
------------------------------------
The test passes fine with MyFaces 2.1.10 and Tomcat 6 with no console errors.
If you want to run the test yourself, here are the steps:
# Follow the container setup instructions here:
https://github.com/richfaces/richfaces/blob/master/TESTS.md#tomcat-6---remote
#* (Note: the rest of the instructions on that page pertain to RF 5 and are not
relevant for RF 4)
# From the components/dnd/ui folder, run the command:
{code}
mvn -Dtest=TestDnd
-Darquillian.richfaces.jsfImplementation=org.apache.myfaces.core:myfaces-impl:2.1.10
-Pintegration-tests,tomcat-remote-6,browser-chrome,browser-remote-reusable test
{code}
If you can direct me in creating an environment where this test fails, then we
can proceed with finding a fix. Even better would be a PR with appropriate
changes to the test ;-)
> Drag and drop doesn't work with MyFaces
> ---------------------------------------
>
> Key: RF-12675
> URL: https://issues.jboss.org/browse/RF-12675
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-drag/drop
> Affects Versions: 4.2.3.Final
> Environment: tomcat6
> Reporter: Anton Zukovskij
> Assignee: Lukáš Fryč
> Labels: Drag, drop, myfaces
> Fix For: 4.3.4, 5-Tracking
>
> Attachments: dragAndDrop.zip, dragdrop-test.zip
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When using simple drag and drop with myfaces JSF implementation, javascript
> fails on drop event:
> Uncaught clientError: Sourceform could not be determined, either because
> element is not attached to a form or we have multiple forms with named
> elements of the same identifier or name, stopping the ajax processing
> (jsf.js...lopment (line 8277)).
> This is caused by drag indicator is being detached from <form> and appended
> to body (dnd-draggable.js @ dragStart). Please see attached demo app. This
> issue is also reproducible on showcase application if you replace mojarra jar
> files with myfaces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues