Closed utrenkner closed 5 years ago
OK, I found the cause of the problem. And I don't think it's an important issue and I therefore close this issue: I had problems with the massive upload. That led me to re-importing parts of the import. But Ghost automatically adds -2
, -3
etc. to the slug of the second, third etc. version of the same slug. Of course, this adds at least two characters.
Issue #9251 kind of solves the same issue when writing/saving posts.
I am currently test-importing almost 30 000 articles from an old CMS. I already included a shortening routine, cutting long slugs to 190 characters at most (defensively staying 1 character below the stated limit of 191).
However, the slug
photovoltaik-gebaeudeintegration-heliatek-und-reckli-unterzeichnen-entwicklungsvereinbarung-zur-integration-organischer-solarmodule-in-gebaeudefassaden-aus-beton-markteinfuehrung-in----18525
is 190 characters long, and produces the following error-message when importing:To me it looks like the error message (191 characters) is wrong.
Now, I will go back to testing where the real limit is...