-
Notifications
You must be signed in to change notification settings - Fork 24
Статус поддержки: учет общего уровня "замка" #153
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
Conversation
src/main/java/com/github/_1c_syntax/mdclasses/metadata/additional/ParseSupportData.java
Outdated
Show resolved
Hide resolved
| var guidObject = dataStrings[currentObjectPoint + 2]; | ||
| var supportVariant = getSupportVariantByInt(support); | ||
| SupportVariant supportVariant; | ||
| if (configurationSupportVariant == SupportVariant.EDITABLE_SUPPORT_ENABLED) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я в детали не углублялся, но тут точно ==?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nixel2007 enum же
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я не про сравнение как таковое, а про == или !=
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nixel2007 Когда у конфигурации стоит полная поддержка, общий статус у неё 1, а не 0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0 становится после жмаканья кнопки "Включить возможность изменения".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Нужен кто-то шарящий
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я как раз хотел предложить ввести отдельный энум/константу
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theshadowco @otymko Константа или enum?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@EightM enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theshadowco @otymko добавил enum
close #134