-
Notifications
You must be signed in to change notification settings - Fork 0
AnA08S16DefaultData
TWiki> LibrePlan Web>AnA08S16DefaultData (03 Jan 2012, JavierMoran)EditAttach
Story summary | Create default data |
Iteration | AnA08Usability |
FEA | AnA08S16DefaultData |
Story Lead | |
Next Story | |
Passed acceptance test | No |
This task is to improve current default data to insert more suitable values. These default data are inserted by Bootstrappers
on application launching. If they find empty the entity they are initialization in the database they insert the default data.
The new default data will be the following:
Criteria
- Location
- Africa
- America
- Asia
- Australia
- Europe
- Category
- Manager
- Senior worker
- Junior worker
- Skill
Labels
- Priority
- High urgency
- Medium urgency
- Low urgency
Hours Type
- Default
- 30
- Overtime
- 50
Work report model
- Name: Default
- Resource: Line
- Task: Line
- Date: Line
Exception types
- Resource Holiday
- Yellow
- Standard Effort: 0h
- Extra Effort: 0h
- Bank holiday
- Red
- Standard Effort: 0h
- Extra Effort: 0h
- Half-day holiday
- Orange
- Standard Effort: 4h
- Extra Effrot: 0h
- Leave
- Magenta
- Standard Effort: 0h
- Extra Effort: 0h
- Strike
- Purple
- Standard Effort: 0h
- Extra Effort: 0h
Now there is a problem. If a user does not like the default data and remove then, on stopping the application and starting it again the default data will be inserted again.
This provokes that people cannot erase never default data.
Therefore, the solution is to insert in each bootstrapper a condition to insert the default data just if the the entity it is reponsible for has not any value in the database.
User | Spent in XpTracker | Spent in phpReport | Ok? |
---|---|---|---|
IgnacioDiaz | 8 | 0 | |
Total | 8 | 0 |
Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.