creecros / MetaMagik

Custom Fields for Kanboard - Plugin MetaMagik
MIT License
99 stars 16 forks source link

MetaMagik blocks new task creation #66

Closed ianme closed 3 years ago

ianme commented 3 years ago

Kanboard 1.2.18 MetaMagik 1.4.9

I have this strange problem, after installing MetaMagik and playing around for a while (creating extra fields for some projects) I cannot create new tasks to any project -- either it has or not extra metadata. The only solution i found was to uninstall MetaMagik :-( When installing back, i get the same issue again.

For clarity, when i say "impossible to create tasks" that means that the Save button on the creation pop-up does not work: after clicking on it it gets grey for a little and then blue again. I have to Escape in order to go back to the board view where a message on the upper left corner says Impossible to create this task, and disappears after a couple of seconds.

Any help?

creecros commented 3 years ago

@ianme I just tested, and cannot duplicate an error. I will need more info. Any error codes? Do you have a list of other plugins installed?

Double check that you do not have any "Required" custom fields, that you are not entering data into, otherwise, you are correct, it will not save. In fact, the behavior you have described, is exactly what would happen if this was the case. (and to be sure, i tested this, and this is exactly what happens when you do not enter data into a "Required" field)

Tested on: image

ianme commented 3 years ago

Hi, thank you for your reply.

Yes, i have the same behaviour as if there were required fields left empty. Although i don't have, it blocks every single project, although i had created fields (some of them were required) for just two projects in my dashboard.

I noticed that after reinstalling MetaMagik it still "remembers" the extra fields that were created. I'll try to make a clean uninstall first (does deleting MetaMagik in the plugins folder is enough?) and reinstall.

For your info, this is the complete list of plugins installed.

image

Configuration

Version de l'application : master.unknown_revision
Version de PHP : 7.2.34
PHP SAPI : apache2handler
Client HTTP : cURL
Version du système d'exploitation : Linux 3.10.0-1127.19.1.el7.x86_64
Type de base de données : mysql
Version de la base de donnée : 10.3.13-MariaDB
Navigateur web : Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
creecros commented 3 years ago

I'll take another look, maybe something else is going on, that I didn't test.

ianme commented 3 years ago

Some extra info, in case that helps.

I checked in the plugins directory, there is no trace of MetaMagik.

I reinstalled MetaMagik (1.4.11) and it remembers which projects had extra metadata fields: just one, number 59, with 3 required fields and 1 optional. That's right.

image

But still i get the same problem, it is impossible to create any new task, in any project, unless i uninstall MetaMagik again.

creecros commented 3 years ago

I see the issue, and was able to duplicate. If you have a required field, it doesn't seem to matter what scope it is, it considers it empty, regardless of what project it is assigned to. I will come up with a solve, stay tuned.

creecros commented 3 years ago

Fixed, sorry about that, complete oversight on my part. Thanks for finding and reporting!

creecros commented 3 years ago

FYI, Backlog Board is a buggy plugin when it comes to recurrences, and I don't maintain it anymore. Use at your own risk.

ianme commented 3 years ago

Many thanks! i confirm everything works with 1.4.12 installed.

Thanks for warning about Backlog Board, it is very helpful with several swimlanes, but not critical for out work. I had seen that it doesn't handle recurrencies.

ianme commented 3 years ago

Oups, answered too fast!

The new task issue was solved, indeed. However i cannot update existing tasks, maybe a side-problem somewhere?

creecros commented 3 years ago

I only tested new tasks too, im a bad tester! I'll look this morning.

ianme commented 3 years ago

Done :100: