[MAGNOLIA-3224] NPE using magnolia.utf8.enabled=true - UnicodeNormalizationFilter Created: 04/Jun/10 Updated: 13/Mar/12 Resolved: 08/Jun/10 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.3.2 |
| Fix Version/s: | 4.3.3, 4.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Luca Boati | Assignee: | Luca Boati |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | unicode | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| 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 |
|
Using magnolia.utf8.enabled=true a NPE occurs on UnicodeNormalizationFilter. With cannot be passed a null value to UnicodeNormalizer.normalizeNFC(null), this cause NPE. The UnicodeNormaliazioneFilter has to normalize originalURI/URL, to overwrite these properties it needs to reset it, otherwise IllegalStateException could occurs. patch Included, if ok I can commit it. |
| Comments |
| Comment by Fabrizio Giustina [ 08/Jun/10 ] |
|
raising priority |
| Comment by Magnolia International [ 08/Jun/10 ] |
|
please port fixes to the 4.3 branch |
| Comment by Fabrizio Giustina [ 08/Jun/10 ] |
|
done |
| Comment by Magnolia International [ 09/Jun/10 ] |
|
please merge ... |
| Comment by Luca Boati [ 10/Jun/10 ] |
|
merge done |