News:

Wondering if this will always be free?  See why free is better.

Main Menu

Bug with drafts and sticky topics?

Started by CRM 114, May 16, 2024, 01:24:02 AM

Previous topic - Next topic

CRM 114

Good morning,
when I answer to a sticky topic with a draft, the topic is also set to non-sticky. When i answer "normally" (no draft used), everything is fine.

Can someone confirm this?

My configuration:
SMF 2.1.4
PHP 8.1
Installed mods:
Ultimate Menu 2.0.2
SCEditor Max Height 1.0.1

P.S.: same behaviour with mods deinstalled.
German Wet Shaving Forum: www.gut-rasiert.de/forum

Aleksi "Lex" Kilpinen

Didn't test thoroughly, but at a quick glance it seems to me that drafts also save the "advanced options" under the editor, so if you start a draft in a topic that is not a sticky, posting the draft will unsticky the topic, and the other way around. I'm not sure if this is intentional.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

CRM 114

Quote from: Aleksi "Lex" Kilpinen on May 16, 2024, 01:29:39 AMI'm not sure if this is intentional.

I would assume that this is not intentional. :)
German Wet Shaving Forum: www.gut-rasiert.de/forum

CRM 114

The "Lock this topic" option is also affected.
German Wet Shaving Forum: www.gut-rasiert.de/forum

Aleksi "Lex" Kilpinen

Moved to bug reports for feedback.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

CRM 114

Quote from: Aleksi on May 16, 2024, 01:29:39 AMDidn't test thoroughly, but at a quick glance it seems to me that drafts also save the "advanced options" under the editor

I just checked this: a draft does not save the advanced options from the topic. The value for "is_sticky" in the table "user_drafts" is "0", although the topic is sticky.
German Wet Shaving Forum: www.gut-rasiert.de/forum

Aleksi "Lex" Kilpinen

That's interesting, as I do have a draft saved in this topic that would make this sticky if I posted it. I open the editor, sticky is not selected, I load the draft and sticky is selected.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: