2015-05-12 13:55:53 |
Dmytro Dovbii |
bug |
|
|
added bug |
2015-05-12 14:47:00 |
Dmytro Dovbii |
description |
1. Create a simple class:
Namespaces:
=: io.murano.apps.simple
...
Name: SimpleClass
Extends: std:Application
Properties:
name:
Contract: $.string().notNull()
Methods:
initialize:
Body:
- $._someVar: 'hello'
deploy:
Body:
- $this.find(std:Environment).reporter.report($this, $._someVar)
2. Create object of class SimpleClass somewhere in another code
$simpleObj: new(SimpleClass, name => 'testApp')
3. Try to execute method deploy() of created object:
$simpleObj.deploy()
4. You'll see an exception:
"Access to uninitialized property _someVar in class io.murano.apps.simple.SimpleClass is forbidden"
It means that method 'initialize()' has't been executed. |
1. Create a simple class:
Namespaces:
=: io.murano.apps.simple
...
Name: SimpleClass
Extends: std:Application
Properties:
name:
Contract: $.string().notNull()
Methods:
initialize:
Body:
- $._someVar: 'hello'
deploy:
Body:
- $this.find(std:Environment).reporter.report($this, $._someVar)
2. Create instance of class SimpleClass somewhere in another code
$simpleObj: new(SimpleClass, name => 'testApp')
3. Try to execute method deploy() of created instance:
$simpleObj.deploy()
4. You'll see an exception:
"Access to uninitialized property _someVar in class io.murano.apps.simple.SimpleClass is forbidden"
It means that method 'initialize()' has't been executed. |
|
2015-05-18 17:12:36 |
Ekaterina Chernova |
murano: milestone |
|
2015.1.1 |
|
2015-05-18 17:12:39 |
Ekaterina Chernova |
murano: importance |
Undecided |
Medium |
|
2015-05-18 17:12:41 |
Ekaterina Chernova |
murano: status |
New |
Triaged |
|
2015-08-12 16:32:38 |
Ekaterina Chernova |
murano: assignee |
|
Stan Lagun (slagun) |
|
2015-08-12 16:32:41 |
Ekaterina Chernova |
murano: status |
Triaged |
In Progress |
|
2015-08-18 13:08:19 |
OpenStack Infra |
murano: assignee |
Stan Lagun (slagun) |
Ekaterina Chernova (efedorova) |
|
2015-08-18 21:55:38 |
OpenStack Infra |
murano: assignee |
Ekaterina Chernova (efedorova) |
Stan Lagun (slagun) |
|
2015-08-20 09:36:58 |
OpenStack Infra |
murano: assignee |
Stan Lagun (slagun) |
Ekaterina Chernova (efedorova) |
|
2015-08-20 10:50:52 |
OpenStack Infra |
murano: assignee |
Ekaterina Chernova (efedorova) |
Stan Lagun (slagun) |
|
2015-08-20 11:49:27 |
OpenStack Infra |
murano: assignee |
Stan Lagun (slagun) |
Ekaterina Chernova (efedorova) |
|
2015-08-22 10:25:28 |
OpenStack Infra |
murano: assignee |
Ekaterina Chernova (efedorova) |
Stan Lagun (slagun) |
|
2015-08-24 12:28:34 |
OpenStack Infra |
murano: assignee |
Stan Lagun (slagun) |
Ekaterina Chernova (efedorova) |
|
2015-08-25 13:08:57 |
OpenStack Infra |
murano: assignee |
Ekaterina Chernova (efedorova) |
Stan Lagun (slagun) |
|
2015-08-25 15:36:07 |
OpenStack Infra |
murano: status |
In Progress |
Fix Committed |
|
2015-12-03 22:16:52 |
Kirill Zaitsev |
murano: status |
Fix Committed |
Fix Released |
|