Fixed Prefixes Removed When Editing Thread Titles If User Group Doesn't Have Access

Amaury

Well-known member
This might be another design issue or it may be as designed, but we'll see.

Let's take a prefix from XenForo: Not a Bug. Mike moves a thread to Resolved Bug Reports and prefixes it Not a Bug. However, the reporting user later realizes they made a typo in the title and goes to fix it; after they fix it, the thread is without a prefix because the user group the user is a part of doesn't have access to any of the resolution prefixes and the prefix Not a Bug was therefore removed during the process of changing the thread title.

Even if we don't have access to certain prefixes and can't change the prefix, whatever prefix is already there should remain in place.
 
I Don't Understand Why English Speakers Write The First Letter With Caps :confused:

Anyway I think that what you have reported might be as designed however I believe it should be changed because as it currently works it looks buggy.
 
I Don't Understand Why English Speakers Write The First Letter With Caps :confused:

It's a title; that's why. Additionally, unless they are at the beginning or end of the title, prepositions, such as "the," aren't capitalized (there just don't happen to be any in this thread's title). However, let's save that for another time and not derail the thread. :)
 
I think a good fix for this would be to move the logic for checking if a prefix is usable into the datawriter preSave function. This would allow you to only check/remove invalid prefixes if the prefix id has actually be changed.
 
Top Bottom