Bug #1127
getById of does not get updated
Status: | Closed | Start date: | 02/10/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Carlos Martín | % Done: | 0% | |
Category: | Client API & Library | |||
Target version: | Release 3.6 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 3.2 |
Description
Steps to reproduce the bug:
Create a TemplatePool
Create a new Template
Using the Integer return value of OneResponse invoke getById.
It does not return Template. Instead returns null.
Work around: invoke info() method to update the info and then call getById.
Possible fix: invoke info() inside getById function.
Associated revisions
Bug #1127: Add comments to java oca getById methods
Bug #1127: Add comments to java oca getById methods
(cherry picked from commit c73248643d442abc9939a1ad3a4775dc8b0d189f)
Conflicts:
src/oca/java/src/org/opennebula/client/cluster/ClusterPool.java
src/oca/java/src/org/opennebula/client/datastore/DatastorePool.java
Bug #1127: Add comments to java oca getById methods
(cherry picked from commit c73248643d442abc9939a1ad3a4775dc8b0d189f)
History
#1 Updated by Ruben S. Montero over 9 years ago
- Target version set to Release 3.4
#2 Updated by Carlos Martín over 9 years ago
- Assignee changed from Sajith Kalathingal to Carlos Martín
info is indeed required, this should be noted in the method javadoc
#3 Updated by Ruben S. Montero about 9 years ago
- Target version changed from Release 3.4 to Release 3.6
#4 Updated by Carlos Martín about 9 years ago
- Status changed from New to Closed
- Resolution set to fixed