[jbosstools-issues] [JBoss JIRA] (JBIDE-13695) Rename Method Participant does not work correctly if project is out of synch
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Mon Apr 8 14:35:42 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-13695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Azarov updated JBIDE-13695:
----------------------------------
Description:
See: https://community.jboss.org/message/800166#800166
What to do:
1. Do not block UI (put error in the log instead producing fatal error)
2. Make error message more clear
3. Try to refresh the project
Test case:
EXECUTE:
1. Create JSF Kick Start Project 'test'
2. Open "/test/WebContent/pages/hello.jsp" in external editor, change it then save
3. Open "/test/JavaSource/demo/User.java" in Eclipse Java Editor
4. Select method getName() then right click on it then select Refactor->Rename
5. Type new name then press Enter
ASSERT:
1. Dialog "Rename Method" appears with Problem: "Be sure, may be..."
2. "Cannot read resource(s). Resource '/test' is not in sync." message in Error Log
EXECUTE:
1. Press Button "Continue"
ASSERT: method renamed
was:
See: https://community.jboss.org/message/800166#800166
What to do:
1. Do not block UI (put error in the log instead producing fatal error)
2. Make error message more clear
3. Try to refresh the project
> Rename Method Participant does not work correctly if project is out of synch
> ----------------------------------------------------------------------------
>
> Key: JBIDE-13695
> URL: https://issues.jboss.org/browse/JBIDE-13695
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: CDI, common/jst/core, JSF
> Affects Versions: 4.1.0.Alpha1
> Reporter: Daniel Azarov
> Assignee: Daniel Azarov
> Priority: Critical
> Fix For: 4.1.0.Alpha2
>
>
> See: https://community.jboss.org/message/800166#800166
> What to do:
> 1. Do not block UI (put error in the log instead producing fatal error)
> 2. Make error message more clear
> 3. Try to refresh the project
> Test case:
> EXECUTE:
> 1. Create JSF Kick Start Project 'test'
> 2. Open "/test/WebContent/pages/hello.jsp" in external editor, change it then save
> 3. Open "/test/JavaSource/demo/User.java" in Eclipse Java Editor
> 4. Select method getName() then right click on it then select Refactor->Rename
> 5. Type new name then press Enter
> ASSERT:
> 1. Dialog "Rename Method" appears with Problem: "Be sure, may be..."
> 2. "Cannot read resource(s). Resource '/test' is not in sync." message in Error Log
> EXECUTE:
> 1. Press Button "Continue"
> ASSERT: method renamed
--
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
More information about the jbosstools-issues
mailing list