Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Creation of datasets/harvest sources with no organization specified #3046

@nibecker

Description

@nibecker

CKAN Version if known (or site URL)

2.5.2

Please describe the expected behaviour

Alternative 1: When adding a new dataset/harvest source and no organization has been created so far, the user should be promoted with a note that this has to be done first. Maybe the form could be grayed out.

Alternative 2: When adding a new dataset/harvest source and no organization has been created so far, the form should still include the organization-field. When the user puts focus on it, a dialogue opens assisting the user in creating a new organization.

Please describe the actual behaviour

When adding a new dataset/harvest source and no organization has been created so far, the form field for organization is not displayed. The form can be filled out. After saving an error message reads

The form contains invalid entries:
Owner org: A organization must be supplied

This is confusing since no such field is provided.

What steps can be taken to reproduce the issue?

  1. Create a new ckan instance or delete all organizations. 2. Create a new dataset/set up a new harvest source.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions