oscript-library / oscript-library/v8runner

Баг в определении необходимости инкрементальной выгрузки

Open
#68 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
1C Enterprise
Stars
130
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Собственно метод "ПроверитьВозможностьОбновленияФайловВыгрузки" работает не очень корректно, когда изменений нет (получаем пустой файл со списоком изменений), он выгружает полную конфигурацию

update

Он в целом работает не верно, по крайней мере на платформе 8.3.11

Метод ищет строку FullDump в данных, полученных из файла изменений, но его попросту нет, даже если изменения имеются.

Вот пример из полученного файла

New:DataProcessor.Обработка1

Modified:Configuration.CRM

Может в какой-то версии изменили формат выдаваемой информации об измененных объектов? На старых версия не пользовался выгрузкой конфы в файлы.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the method "ПроверитьВозможностьОбновленияФайловВыгрузки" and reproduce the behavior on platform 8.3.11 using an empty changes file and the shown New/Modified entries. Compare how the method detects FullDump with the actual change-file format; done means unchanged configurations do not trigger a full export and changed objects are handled correctly.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.