Reporter not report message

Bug #1838009 reported by zhaolihui on 2019-07-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Undecided
zhaolihui

Bug Description

Description
===========
There is no message when deploy murano package with _environment.reporter.report function

Steps to reproduce
==================
1.modify murano package's xxx/Classes/xxx.yaml
Methods:
  initialize:
    Body:
      - $._environment: $.find(std:Environment).require()

  deploy:
    Body:
      - If: not $.getAttr(isDeployed, false)
        Then:
          - $._environment.reporter.report($this, 'Deploy start')
          - $.setAttr(isDeployed, true)

2.import this package and deploy it.

Expected result
===============
There will be a message 'Deploy start' display in environment deployment history tab.

Actual result
=============
The message 'Deploy start' not display in environment deployment history tab.

Environment
===========
Rocky version

zhaolihui (zhaolh) on 2019-07-26
Changed in murano:
assignee: nobody → zhaolihui (zhaolh)

Fix proposed to branch: master
Review: https://review.opendev.org/672954

Changed in murano:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers