-
Notifications
You must be signed in to change notification settings - Fork 0
ItEr76S27ResourceBinding
Jeroen Baten edited this page Mar 9, 2018
·
1 revision
TWiki> LibrePlan Web>ItEr76S27ResourceBinding (20 Aug 2012, ManuelRego)EditAttach
Story summary | Resource binding |
Iteration | ItEr76Week01To33 |
FEA | ItEr76S27ResourceBinding |
Story Lead | |
Next Story | |
Passed acceptance test | No |
Acceptance Criteria
Additional Specification Comments
Implementation Notes
One-to-one mapping between Worker and User has been configured with the following relationships:
-
In the Worker side:
<many-to-one name="user" cascade="save-update" class="org.libreplan.business.users.entities.User" column="user_id" unique="true" />
-
In the User side:
<one-to-one name="worker" property-ref="user" class="org.libreplan.business.resources.entities.Worker" />
Fixed problem in BandboxSearch, in order that selectedElement
calls both get
and set
methods:
- In order to do this a change has been done in BandboxSearch, adding the last line to the next method:
public void pickElementFromList() {
final Object object = getSelectedItem().getValue();
bandbox.setValue(finder.objectToString(object));
setSelectedElement(object);
Util.getBinder(this).saveAttribute(this, "selectedElement");
}
- Moreover is needed to use
access='both'
in the.zul
:
<bandboxSearch id="userBandbox" finder="UserBandboxFinder"
model="@{controller.possibleUsersToBound}"
selectedElement="@{controller.boundUser, access='both'}" />
It was needed to fix entry points for users and workers as it was not working properly:
- For users:
- In
UserCRUDController.doAfterCompose
moved to the bottom the part needed for entry points
- In
- For workers:
- In
WorkerCRUDController.doAfterCompose
moved to the bottom the part needed for entry points - In
CriterionsController.forceSortGridSatisfaction
add checking to preventNullPointerException
- In
Delay Causes
Final or Pending Considerations
%RPSHOWGITCOMMITS%
Tasks | Est | Spent | To do | Risk | Reviewer | Developer | Task Name | Start Date | Est End Date | End Date |
---|---|---|---|---|---|---|---|---|---|---|
Task | 3 | 5 | 0 | Low | JavierMoran | ManuelRego | Add relationship between and Worker and User | |||
Task | 21 | 10 | 0 | Low | JavierMoran | ManuelRego | Adapt resource administration window | |||
Task | 14 | 6.5 | 0 | Low | JavierMoran | ManuelRego | Adapt user administration window |
User | Spent in XpTracker | Spent in phpReport | Ok? |
---|---|---|---|
ManuelRego | 21.5 | 0 | |
Total | 21.5 | 0 |
Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.