PIM-2182: Fix some issues to get common attributes

| Q                   | A
| ------------------- | ---
| Bug fix?            | Y
| New feature?        | N
| BC breaks?          | N
| Tests pass?         | Y
| Scenarios pass?     | Y
| Checkstyle issues?  | N
| Changelog updated?  | N
| Fixed tickets       | PIM-2182
| Doc PR              |