Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Please report bugs here!

Moderator: Thorsten

Post Reply
Virgile
Posts: 27
Joined: Thu Jul 25, 2024 7:33 am

Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Virgile »

Hello,

I updated phpmyfaq to version 3.2.9 and we noticed an abnormal behavior. When we create a FAQ, an attachment is added randomly without our intervention. We've also noticed that FAQs are published directly to the public, whereas by default they should be unpublished.

Is this a known problem with version 3.2.9? And how can we fix it?

Best regards,
Virgile.
Thorsten
Posts: 15655
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Thorsten »

Hi,

where do you add these FAQs? If it's in the public frontend, you can forbid this in the main configuration. In the admin backend the author is self-responsible for setting the right option to publish a FAQ directly.

Can you describe the behaviour with attachments a little bit more detailed?

Thanks in advance!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 27
Joined: Thu Jul 25, 2024 7:33 am

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Virgile »

Hi,

To publish an FAQ, the user uses the add FAQ tab on the web user interface :
add faq interface.PNG
Previously, the FAQ was not published directly when added via this web interface.


For attachments, when an FAQ is created on this same interface, an attachment is attached to the FAQ, whereas there is no field for inserting an attachment on the user interface:
test add faq 1.PNG
test add faq 2.PNG
Bye,
Virgile.
You do not have the required permissions to view the files attached to this post.
Virgile
Posts: 27
Joined: Thu Jul 25, 2024 7:33 am

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Virgile »

Hi,

Any ideas ?

Virgile.
Thorsten
Posts: 15655
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Thorsten »

Hi,

how does your configuration for "auto publishing" look like?

For the random attachment: is it always the same?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 27
Joined: Thu Jul 25, 2024 7:33 am

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Virgile »

Hi,

What do you mean by “auto publishing” configuration? In version 3.2.3, when creating a new FAQ, an administrator had to go to the admin console to publish the FAQ. Now it's automatically published to the public, even though we're using the same settings as in version 3.2.3.

No, it takes a file from the list on the server.

bye,
Virgile
Thorsten
Posts: 15655
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Thorsten »

Hi,

you find this configuration under Admin -> Configuration -> FAQs:
Bildschirmfoto 2024-11-15 um 11.39.13.png
Is it somehow checked in your installation?

I'll check the code again for the attachments, that's weird.

bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Virgile
Posts: 27
Joined: Thu Jul 25, 2024 7:33 am

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Virgile »

Hi,

I've just updated to 3.2.10 and it solved both problems (attachments and automatic public publishing).

The option you specify is not checked in our configuration.

Bye,
Virgile.
Thorsten
Posts: 15655
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Random attachment added when creating an FAQ (3.2.9) + Public FAQ by default

Post by Thorsten »

Hi,

oh, that's awesome.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply