Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Harmony: Added new style validations for New Publisher #2434

Merged

Conversation

kalisp
Copy link
Member

@kalisp kalisp commented Dec 22, 2021

Brief description

New Publisher expects a bit different styles of validators. (Using our own validator exception instead of asserts.)

Description

This PR modifies validators for Harmony

Testing notes:

  1. Enable availability of New Publisher in your Local Settings
  2. Try New Publisher in Harmony, try to mess with scene to trigger validations.

@kalisp kalisp added type: enhancement Enhancements to existing functionality host: Harmony labels Dec 22, 2021
@kalisp kalisp requested review from mkolar and 64qam December 22, 2021 12:59
@kalisp kalisp self-assigned this Dec 22, 2021
if instance_asset != current_asset:
raise PublishXmlValidationError(self, msg,
formatting_data=formatting_data)

Copy link

Choose a reason for hiding this comment

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

blank line at end of file

@kalisp kalisp merged commit 1f82853 into feature/validation_exceptions Dec 23, 2021
@kalisp kalisp deleted the feature/validation_exceptions_harmony branch December 23, 2021 13:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Harmony type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants