When trying to rename a WOComponent (using the context menu -> Refactor -> Rename WOComponent), and the .api file doesn't contain the Java file name (e.g. "MyComponent.java"), an assertion error occurs and nothing is renamed. We had some .api files where the Java file name was missing the file extension and therefore the error occurred.
To solve this issue, the renaming has been made more tolerant. First it tries the Java file name with extension, then without and if that's not found as well, no error happens.
When trying to rename a WOComponent (using the context menu -> Refactor -> Rename WOComponent), and the .api file doesn't contain the Java file name (e.g. "MyComponent.java"), an assertion error occurs and nothing is renamed. We had some .api files where the Java file name was missing the file extension and therefore the error occurred. To solve this issue, the renaming has been made more tolerant. First it tries the Java file name with extension, then without and if that's not found as well, no error happens.