Bug #1127

getById of does not get updated

Added by Sajith Kalathingal over 9 years ago. Updated about 9 years ago.

Status:ClosedStart date:02/10/2012
Priority:NormalDue 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

Revision c7324864
Added by Carlos Martín about 9 years ago

Bug #1127: Add comments to java oca getById methods

Revision 1e05957c
Added by Carlos Martín about 9 years ago

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

Revision 84ecdb0c
Added by Carlos Martín about 9 years ago

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

Also available in: Atom PDF