Comments (8)
Alex, can you please provide steps to reproduce the issue?
from fat_free_crm.
This seems to happen with any task that has a specific date attached to it. I may try to solve this on my fork of the project. If I do, I'll send you a message and submit a pull request.
from fat_free_crm.
It's looking like this problem only occurs for overdue tasks
from fat_free_crm.
This may have something to do with the :bucket field in the Task model. Could this be an issue with the finder methods used for TasksController#index?
The following params are sent to TasksController#complete when I try to update an overdue task:
{"bucket"=>"overdue", "action"=>"complete", "_method"=>"put", "id"=>"17", "controller"=>"tasks"}
from fat_free_crm.
What are the symptoms? Can you copy/paste errors from the log file? If you could to write a quick spec that fails that would be even better.
from fat_free_crm.
There are no errors, the request submits successfully. I'm thinking it may be a logical error in one of the named scopes? I'm working on a failing spec.
from fat_free_crm.
+1 on this error - completion does not persist.
from fat_free_crm.
I think the latest tip of the master addresses this issue. What we've discovered was actually two bugs: 1) invalid due date assignment because of missing time zone (Time.zone.now instead of Time.now), and 2) task validation bug that prevented tasks with specific due date from being closed.
Both issues now have tests that pass, so I think we're in a good shape.
from fat_free_crm.
Related Issues (20)
- Online demo does not work HOT 1
- Ruby Sass has reached end-of-life and should no longer be used. HOT 3
- Couldn't find Active Storage configuration in /app/config/storage.yml HOT 3
- Create a demo docker image HOT 15
- Escape mandatory field for 'Last name' in Lead creation form HOT 1
- Unable to setup new rails project with ffc as an engine HOT 3
- Improve spec coverage HOT 1
- Issue with "t" function in /lib/fat_free_crm/i18n.rb HOT 2
- Checking out a fresh FFCRM instance and running rake db:create throws an error HOT 1
- Error running migration 20230526212613_convert_to_active_storage.rb HOT 8
- Error loading page: DEPRECATION WARNING: Initialization autoloaded the constant Setting. HOT 1
- Ruby 2.7 has reached EOL HOT 2
- Roadmap / current status HOT 2
- PaperTrail: Evaluate migrating from YAML to JSON serialisation of versions
- Project Background / History HOT 2
- Contact task error HOT 3
- Setting check failing on Setting.secret_token.present? HOT 1
- Consider shipping with opinionated security defaults on
- Address issue with incorrect open CVE-2019-10226 HOT 6
- How to make 'Last Name' field in 'Create Lead' form non-mandatory HOT 10
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 fat_free_crm.