[MSHOP-27] NPE in DialogLanguageUtil when creating a new shop Created: 26/Apr/12 Updated: 19/Mar/13 Resolved: 19/Mar/13 |
|
| Status: | Closed |
| Project: | Magnolia Shop (closed) |
| Component/s: | None |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | 1.0, 1.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Will Scheidegger | Assignee: | Will Scheidegger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia CE 4.4.6 with STK 1.4.6 |
||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
The "shop" dialog contains a shopMultiLanguageEdit field for "title". However the DialogLanguageUtil is not capable of determining the language since the /shops node is not assigned to any site. The patch fixes this by using the standard i18nContentSupport when no site was selected. |
| Comments |
| Comment by Jan Haderka [ 19/Mar/13 ] |
|
Patch applied in https://git.magnolia-cms.com/gitweb/?p=forge/shop.git;a=commitdiff;h=6081fcd73e904c5f32d480b55904a7b92919aac0 |