Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Show command modal when modifying file scan #2095

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

ip1981
Copy link
Member

@ip1981 ip1981 commented Jul 21, 2020

updating-stratagem

Closes #1762, #2090.

Signed-off-by: Igor Pashev pashev.igor@gmail.com


This change is Reviewable

Signed-off-by: Igor Pashev <pashev.igor@gmail.com>
@ip1981 ip1981 requested a review from a team July 21, 2020 10:57
@ip1981 ip1981 self-assigned this Jul 21, 2020
@ip1981 ip1981 linked an issue Jul 21, 2020 that may be closed by this pull request
Ok(_) => {
orders.skip();
Ok(x) => {
let x = command_modal::Input::Commands(vec![Arc::new(x.data.command)]);
Copy link
Member Author

Choose a reason for hiding this comment

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

This could be unified with other command_model consumers by using fetch_json_data, but might need significant refactoring.

Copy link
Member

Choose a reason for hiding this comment

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

Not worth it yet. There is a large seed 0.7 refactor looming, which redoes the fetch layer.

@@ -31,7 +31,7 @@ def dehydrate_locked_item_content_type_id(self, bundle):
if hasattr(locked_item, "content_type"):
return locked_item.content_type.id
else:
return ContentType.objects.get_for_model(locked_item)
return ContentType.objects.get_for_model(locked_item).id
Copy link
Member Author

Choose a reason for hiding this comment

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

#2090

Copy link
Member

Choose a reason for hiding this comment

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

Interesting we haven't hit this before, this code has not been changed in 8 years :)

@jgrund jgrund merged commit adbae2b into master Jul 21, 2020
@jgrund jgrund deleted the ip1981/1762-strtgm-scan branch July 21, 2020 19:50
beevans pushed a commit to beevans/integrated-manager-for-lustre that referenced this pull request Aug 6, 2020
Signed-off-by: Igor Pashev <pashev.igor@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants