Skip to content

Commit c40be92

Browse files
authored
Merge pull request magento#496 from magento/BRN-495-Array_access_exception_when_using_copy_path
495: Fixed the array access exception when using copy path
2 parents eff7209 + 4f796a8 commit c40be92

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
99
### Fixed
1010

1111
- Reference navigation for classes under directories with underscores
12+
- Fixed the array access exception when using copy path action
1213

1314
## 3.1.1
1415

src/com/magento/idea/magento2plugin/actions/CopyMagentoPath.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public class CopyMagentoPath extends CopyPathProvider {
2525
private final String[] templatePaths = {
2626
"view/frontend/templates/",
2727
"view/adminhtml/templates/",
28-
"view/base/templates/"
28+
"view/base/templates/",
29+
"templates/"
2930
};
3031

3132
@Override

0 commit comments

Comments
 (0)