Project

General

Profile

Actions

Bug #23999

closed

Exporting templates does not work properly when organization_id specified

Added by Ondřej Pražák over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Importing works for organization_id into a target organization but export dumps all templates even though the organization_id is specified.

Steps to Reproduce:
Attempt to export template in org/loc:

  1. curl -H "Accept: application/json" -H "Content-Type: application/json" -k -X POST -u admin:changeme https://$(hostname)/api/v2/templates/export -d '{"verbose":"true", "repo":"/usr/share/foreman_templates/test-b7c98b75-4dd1-4b6a-b424-35b0f48c25db/", "organization_id":8}'
Actions #1

Updated by The Foreman Bot over 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_templates/pull/95 added
Actions #2

Updated by Marek Hulán over 6 years ago

  • Subject changed from Exporting templates does not work properly when organization_id specified to Exporting templates does not work properly when organization_id specified
  • Translation missing: en.field_release set to 368
Actions #3

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF