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

Исправление FP QueryToMissingMetadata (поиск метаданных без учета регистра) #2952

Merged
merged 2 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private Optional<AbstractMDObjectBase> getMdo(String mdoTypeName, String mdoName
return MDOType.fromValue(mdoTypeName).flatMap(mdoType ->
documentContext.getServerContext().getConfiguration().getChildrenByMdoRef().entrySet().stream()
.filter(entry -> entry.getKey().getType() == mdoType
&& mdoName.equals(entry.getValue().getName()))
&& mdoName.equalsIgnoreCase(entry.getValue().getName()))
.map(Map.Entry::getValue)
.findFirst()
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@
| ВНУТРЕННЕЕ СОЕДИНЕНИЕ РегистрСведений.РегистрСведений1 КАК ТаблицаФильтр // не ошибка
| ПО ТаблицаФильтр.Справочник1 = Таблица.Справочник1";
ЗапросСоединение2.Выполнить();

Запрос2 = Новый Запрос;
Запрос2.Текст = "ВЫБРАТЬ
| Таблица.Справочник1 КАК Справочник1
|ИЗ
| РегистрСведений.рЕГИСТРСведений1 КАК Таблица"; // не ошибка
Запрос2.Выполнить();