Comments (7)
Interesting. I'll take a look.
from metamagik.
@basti79
I was unable to reproduce, and to be honest, am not sure how it would even remotely be possible for the metadata to vanish by just moving to a swimlane. It just doesn't work that way. Metadata is stored in the taskmetadata table, and the relationship is the task id. Only way to break the chain would be for the task id to change.
I tried:
Moving task to different swimlane via the board
Moving task to different swimlane via "Move Position"
Moving task to a different project and different swimlane via "Move to different project"
The custom fields never vanished and remained intact.
Maybe provide some more details?
i.e.
- Confirm your plugin version
- What is your system configuration (found in settings>about)
- Confirm your kanboard version
- Exact steps to reproduce
- What other plugins are installed
from metamagik.
@creecros
Thanks for your work, first let me answer your questions:
- metaMagik 1.2.5
- Configuration: (actually this is a docker container):
Application version: 1.2.9
PHP version: 7.2.14
PHP SAPI: fpm-fcgi
OS version: Linux 4.18.0-2-amd64
Database driver: sqlite
Database version: 3.26.0
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 - no other plugins
The actual news: By reproducing this problem I found out it's linked to an automatic action "Assign a color when the task is moved to a specific swimlane". Without this everything is ok, but when automatically changing the color when moving to a specific swimlane and then using the board to drag-and-drop the task the field contents are lost.
Greets
Sebastian.
from metamagik.
Ok, I reproduced it. Let me look into it.
from metamagik.
I have little understanding of Pimple...but it appears that the model override:
Lines 24 to 27 in 8b5f5cf
does not affect Actions. I'm guessing there is another container that needs that override, no clue as to how to call it, change it, etc...
I'll have to study. Maybe @fguillot might help answer this question for me?
However there is a work around. Make your own action, and use
the NewTaskModificationModel supplied in the plugin.
from metamagik.
After performing several tests, I figured out what is going on. The model is actually overriden, but I built the model with Modifcations from the TaskModification Form, not via an Action, so the $values
do not contain the metadata to replace them. Hence, they disappear.
I should be able to fix this, stay tuned, it's getting late tonight, so maybe tomorrow.
from metamagik.
This should fix it:
https://github.com/creecros/MetaMagik/releases/tag/1.2.6
Please report back if you see any other issues.
from metamagik.
Related Issues (20)
- Ability to edit a custom field's name, scope, required status, on footer status and column HOT 7
- Updating a field in task view doesn't fire up a Webhook HOT 6
- Expand vertically / Collapse vertically missing HOT 2
- Custom fields - Analytics HOT 15
- MetaMagik blocks new task creation HOT 11
- Keep values of custom fields if one required field is empty HOT 3
- About $ sign HOT 11
- Edit Fields HOT 3
- Feature request HOT 10
- Referencing custom field in automatic action HOT 5
- Custom field caption HOT 3
- metakey and metaval filters seem not to be working HOT 9
- using API with MetaMagic HOT 25
- [Feature request] Text area fields should be the same width as the parent column HOT 1
- Go
- The task creator will always be current user when import a task. HOT 2
- Feature Request: Label Custom Field Columns HOT 7
- I am unable to select and copy text from metamagic tables in task view HOT 1
- Sales pipeline, amounts and percentages HOT 6
- No Webhook-Notification upon changes to meta field values
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metamagik.