[MAGNOLIA-2003] User names with dots not possible Created: 14/Jan/08 Updated: 26/Jun/17 Resolved: 07/Dec/11 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Giancarlo Berner | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Magnolia EE 3.0.5 / Magnolia EE 3.5.2 |
||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| 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 |
|
Sidenote: This issue is a blocker for a customer and needs to be solved to be able to manage their users with Magnolia. In some large scale projects usernames often have dots, e.g. john.smith. However, if such a name is added, the dots will be replaced by dashes. The work around is to override info.magnolia.module.admininterface.AdminTreeMVCHandler.renameNode(String)), but this also means that the customer has to expect update problems. |
| Comments |
| Comment by Jan Haderka [ 03/Sep/08 ] |
|
Dots are currently overloaded in use as selector separators thus allowing them is not option until we remove selectors of resolve the conflict arising from optional use of dots in node names. |
| Comment by Jan Haderka [ 03/Sep/08 ] |
|
Can be fixed by enabling dots in Path.getValidatedLabel() once the support for selectors is removed. |
| Comment by Philipp Bracher [ 03/Sep/08 ] |
|
We should solve it by allowing dots for users only (extract the naming method and override it in the user tree). Deprecating the selectors won't be enough because we would have to wait until they were really not supported anymore. Doing that should be rather trivial. We could also think about decoupling the user node name from the user name and introducing a user name property instead. |
| Comment by Jan Haderka [ 03/Sep/08 ] |
|
On the other hand I would not like to introduce special handling for user nodes JUST to allow dots there. There is really no reason why any node should not have dots in name. |