I18N used without proper import

Bug #1502937 reported by Sahdev Zala
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
TOSCA Parser
Fix Released
Critical
Sahdev Zala

Bug Description

ValueError(_("%(path)s is not a valid file.") in tosca template is used without proper import.

Sahdev Zala (spzala)
Changed in tosca-parser:
assignee: nobody → Sahdev Zala (spzala)
Sahdev Zala (spzala)
Changed in tosca-parser:
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Miguel Caballer (micafer1) wrote :

I also have this problem

In my tests it affects to these files:

tosca_template.py
elements/property_definition.py

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tosca-parser (master)

Fix proposed to branch: master
Review: https://review.openstack.org/242334

Changed in tosca-parser:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tosca-parser (master)

Reviewed: https://review.openstack.org/242334
Committed: https://git.openstack.org/cgit/openstack/tosca-parser/commit/?id=fa0cd927ebd36abc7de940e1c7d2fce0564f1d4f
Submitter: Jenkins
Branch: master

commit fa0cd927ebd36abc7de940e1c7d2fce0564f1d4f
Author: spzala <email address hidden>
Date: Thu Nov 5 21:00:51 2015 -0800

    Fix and test the validation of template file

    The validation message is created without proper import. Add it with new test.

    Change-Id: Ia8a815e5f4b4c267e8a96faeebe8b5f9afe2b364
    Partial-Bug: #1502937

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tosca-parser (master)

Fix proposed to branch: master
Review: https://review.openstack.org/247794

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tosca-parser (master)

Reviewed: https://review.openstack.org/247794
Committed: https://git.openstack.org/cgit/openstack/tosca-parser/commit/?id=a2c5ba1ab9f80742d10da259a082cf0638c734c6
Submitter: Jenkins
Branch: master

commit a2c5ba1ab9f80742d10da259a082cf0638c734c6
Author: spzala <email address hidden>
Date: Thu Nov 19 13:23:40 2015 -0800

    Fix missing import with new test

    The error message was created without proper import and test. Add it
    with new test.

    Change-Id: Id6b63e9c1831bd2a1210b30946efb4febb1cc8d8
    Closes-Bug: #1502937

Changed in tosca-parser:
status: In Progress → Fix Committed
Changed in tosca-parser:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.