PHP error notice displayed when tried to edit a language version of node.
Steps to reproduce this issue:
- Install fresh D8;
- Enable Content Translation module;
- Edit article content type;
- Enable translation under language settings;
- Edit article content type, click manage fields;
- Edit body;
- Enable translation for body field;
- In configuration, add languages;
- Create test article;
- Click translations tab;
- Add other language versions for the node;
- Click 'edit' to edit existing version of translations (Not the original copy);
The error notice will display as screenshot.
Line 135 in node module is trying to get node->type. This error displayed because the node didn't get loaded, as arg[1] is 'node' instead of nid.
Attachment | Size | Status | Test result | Operations |
---|---|---|---|---|
Screenshot from 2013-03-09 12:52:34.png | 41.07 KB | Ignored: Check issue status. | None | None |