juju action-set skips values with underscore in the key

Bug #1465844 reported by Jay R. Wren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Cheryl Jennings
1.25
Fix Released
High
Cheryl Jennings

Bug Description

juju 1.24-beta6-vivid-amd64

Adding actions to a charm and reporting their results with action-set.

One of the items on this action has an underscore in its name, others do not.

This works fine:

    action-set item=blah

This gets silently skipped:

    action-set item_foo=bar

This is either a software bug, or it is lacking documentation bug.

Tags: actions
Curtis Hovey (sinzui)
tags: added: actions
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.25.0
Revision history for this message
John Weldon (johnweldon4) wrote :
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.25.0 → 1.25.1
Changed in juju-core:
assignee: nobody → Cheryl Jennings (cherylj)
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Looking at the code for action-set, and this is an intentional restriction. I'll update the help doc for action-set, and open up a documentation bug to add this restriction.

Revision history for this message
Cheryl Jennings (cherylj) wrote :
Revision history for this message
Cheryl Jennings (cherylj) wrote :
Changed in juju-core:
milestone: 1.25.1 → 1.26-alpha1
status: Triaged → Fix Committed
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Verified that this restriction is now in the docs: https://jujucharms.com/docs/stable/authors-charm-actions#action-set

Curtis Hovey (sinzui)
Changed in juju-core:
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.