uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
8.53k stars 459 forks source link

Cannot save article #149

Closed kzsfluxus closed 5 years ago

kzsfluxus commented 5 years ago

I.ve downloaded uvdesk php 7.2 version. When i create a new article there is no possibility to choose related categories. And at save, there is an error message: "This field is mandatory". The mandatory Title, Content and Slug fields are not empty.

vaishaliwebkul commented 5 years ago

Hi kzsfluxus,

You will get a related category option, once the article is saved. Also there is slug ,title and content field are mandatory to save an article. When you will save an article it will redirect you automatically to add for related category.

Please refer below link for more detail: https://support.uvdesk.com/en/blog/uvdesk-how-to-add-an-article-inside-a-category

kzsfluxus commented 5 years ago

It will be nice, but i cannot save article. At save I've got "This field is mandatory" message.There are texts in the slug, title and content fields.

kzsfluxus commented 5 years ago

I've changed the default character set to utf-8 and at this moment everything works fine. My other problem: we are a hungarian library, and we use special hungarian characters : éáőóüö, but uvdesk has a validation in category names, so i cannot use these chars. Is there eny solution?

akshaywebkul commented 5 years ago

Hello kzsfluxus, there aren't any solutions yet but thanks for pointing out this bug. We'll work on a fix for this issue and we'll update you as soon as it's resolved.

kzsfluxus commented 5 years ago

After we creat 4 article this bug came back again. Here's two screenshots.

knowledgebase_article_2 knowledgebase_article_1

UVvidu commented 5 years ago

Hello kzsfluxus, thanks for notifying us back with the screenshot, we will work to fix this bug and will reply you back as soon once it resolved.

kzsfluxus commented 5 years ago

Dear UVVidu, will this bug solve in the near future?

Thanks

vaishaliwebkul commented 5 years ago

Hello @kzsfluxus

The issue has been resolved, install the latest package via composer. let us know if Hungarian words are accepted or not.

kzsfluxus commented 5 years ago

after composer update:

An exception has been thrown during the rendering of a template ("An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.logo AS logo_4, t0.theme_color AS theme_color_5, t0.favicon AS favicon_6, t0.created_at AS created_at_7, t0.updated_at AS updated_at_8, t0.is_active AS is_active_9, t0.timezone AS timezone_10, t0.timeformat AS timeformat_11 FROM uv_website t0 WHERE t0.code = ? LIMIT 1' with params ["knowledgebase"]:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.timezone' in 'field list'").

vaishaliwebkul commented 5 years ago

Hi @kzsfluxus

The reason behind this error is that the database is not updated with current code changes. so try to run the following command to update your database. php bin/console uvdesk:configure-helpdesk

kzsfluxus commented 5 years ago

thanks, now it works perfectly