modxbot / migrate

A testground for migrating issues and other such fun
0 stars 0 forks source link

Alias auto-generate issue for some characters #10238

Open e-kinst opened 11 years ago

e-kinst commented 11 years ago

e-kinst created Redmine issue ID 10238

  1. "This field is required" alert appears when I save resource with Title containing Russian letters:
  2. ? (uppercase) or
  3. ? (lowercase).

?lert disappears when I typed in alias field manually but alias saved as empty.

  1. Resource is saved with empty alias BUT non-empty modx_site_content.uri database field when Title contains Russian letter ? (uppercase).

FURL parameters - at the screenshot attached.

I tried to locate the bug by myself but was not able to print anything on screen or in log. Sorry...

e-kinst commented 11 years ago

e-kinst submitted:

It seems Russian letters fileterd by bug tracker. So it's UTF-8 codes;

  1. "This field is required" alert appears when I save resource with Title containing Russian letters:
  2. U+042B (uppercase) or
  3. U+043B (lowercase).

Alert disappears when I typed in alias field manually but alias saved as empty.

  1. Resource is saved with empty alias BUT non-empty modx_site_content.uri database field when Title contains Russian letter U+041B (uppercase).

Additional info: I can save any title (even with "bad" characters) when specyfy alias manually containing 'good" characters only. So probably bug is not in alias generation but in alias filtering/saving.