Revision history  [back]

Tags that are too long to display use truncated version when retagging question.

On my hosted site, I have an extra-long tag: residency-and-citizenship.

When Askbot displays the tag, it truncates the text:

Screenshot of tags for question with "residency-and-citizenship" tag displaying as "residency-and-citize..."

I'm not really wild about that, but I can live with it.

However, weird things happen when I try to retag a question:

Retag dialog with truncated tag text in input field instead of full tag

Even weirder things happen if I save the tags for that question unmodified and try to retag another one:

Another retag dialog with autocomplete showing both the truncated and full versions of the "residency-and-citizenship" tag

It seems that somewhere in there, Askbot saved the truncated version of the tag!

Looking at the tag list for my site seems to confirm this:

Tag list for site with "residency-and-citize..." listed twice!

Interestingly, this problem only seems to occur when retagging a question. If I edit a question, the "Tags" field behaves as expected:

Tags field when editing a question correctly showing "residency-and-citizenship"

Tags that are too long to display use get truncated version oddly when retagging question.question is retagged.

On my hosted site, I have an extra-long tag: residency-and-citizenship.

When Askbot displays the tag, it truncates the text:

Screenshot of tags for question with "residency-and-citizenship" tag displaying as "residency-and-citize..."

I'm not really wild about that, but I can live with it.

However, weird things happen when I try to retag a question:

Retag dialog with truncated tag text in input field instead of full tag

Even weirder things happen if I save the tags for that question unmodified and try to retag another one:

Another retag dialog with autocomplete showing both the truncated and full versions of the "residency-and-citizenship" tag

It seems that somewhere in there, Askbot saved the truncated version of the tag!

Looking at the tag list for my site seems to confirm this:

Tag list for site with "residency-and-citize..." listed twice!

Interestingly, this problem only seems to occur when retagging a question. If I edit a question, the "Tags" field behaves as expected:

Tags field when editing a question correctly showing "residency-and-citizenship"