Skip to content

Management of nested StorageObj is not working #319

@yolandab

Description

@yolandab

Given the following class definitions

class SO1 (StorageObj):
'''
@ClassField attr1 __main__.SO2
'''
class SO2 (StorageObj):
'''
@ClassField attr2 int
'''

If we set the values with the following code that assigns a persistent object to the nested StorageObj :

o=SO1("name_of_SO1")
a=SO2("name_of_SO2")
o.attr1=a
o.attr1.attr2=4

And we try to use it from a different application:

o=SO1("name_of_SO1")
print(o.attr1.attr2)

Throws the exception "Value not found".
If the assigned StorageObj is not persistent this code works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions