Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #7493 - Store description entered during publish #4679

Merged
merged 1 commit into from Sep 29, 2014
Merged

Fixes #7493 - Store description entered during publish #4679

merged 1 commit into from Sep 29, 2014

Conversation

daviddavis
Copy link
Contributor

No description provided.

@daviddavis daviddavis changed the title [DO NOT REVIEW] Store description entered during publish Store description entered during publish Sep 23, 2014
@daviddavis daviddavis changed the title Store description entered during publish Fixes #7493 - Store description entered during publish Sep 23, 2014
@daviddavis daviddavis changed the title Fixes #7493 - Store description entered during publish [DO NOT REVIEW] Fixes #7493 - Store description entered during publish Sep 23, 2014
@daviddavis daviddavis changed the title [DO NOT REVIEW] Fixes #7493 - Store description entered during publish Fixes #7493 - Store description entered during publish Sep 24, 2014
@ehelms
Copy link
Member

ehelms commented Sep 26, 2014

@daviddavis what is the reasoning behind having description, notes and publish_description all to describe the same field?

@daviddavis
Copy link
Contributor Author

So the notes field holds the description for a publish or a promote. I think we could rename it to description for consistency. Thus, you would have description (the db field), publish_description, and (eventually) promote_description.

@daviddavis
Copy link
Contributor Author

@ehelms updated to use a consistent column (description).

$scope.working = true;
ContentView.publish(contentView, success, failure);
ContentView.publish(data, success, failure);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why aren't you able to just send the contentView object as the data here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because contentView has a description. What we're passing here to the API is a description for the new content view version.

@ehelms
Copy link
Member

ehelms commented Sep 29, 2014

ACK

daviddavis pushed a commit that referenced this pull request Sep 29, 2014
Fixes #7493 - Store description entered during publish
@daviddavis daviddavis merged commit 69e34ed into Katello:master Sep 29, 2014
@daviddavis daviddavis deleted the 7493 branch September 29, 2014 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants