40 lines
2.3 KiB
Markdown
40 lines
2.3 KiB
Markdown
---
|
|
phase: 07-xml-feed-cron-refresh
|
|
plan: 01
|
|
completed: 2026-04-30T07:19:05.331Z
|
|
---
|
|
|
|
# Phase 07-01 Summary
|
|
|
|
****
|
|
|
|
## Acceptance Criteria Results
|
|
|
|
| Criterion | Status |
|
|
|-----------|--------|
|
|
| Task 1: Wydziel osobny cron XML feed | Pass — Dodano Cron::cron_xml_feed_import, endpoint w dashboardzie cron, usunieto wywolanie XmlFeedImporter z cron_universal. Lint OK; grep potwierdza wywolania tylko w nowym cronie i Clients::force_sync. |
|
|
| Task 2: Dodaj reczne odswiezanie XML Feed w /clients | Pass — Dodano opcje XML Feed w dropdownie /clients oraz obsluge pipeline xml_feed w Clients::force_sync z natychmiastowym importem i raportem. Lint OK. |
|
|
| Task 3: Zdiagnozuj i napraw custom_label_1 dla pomysloweprezenty.pl offer_id 2084 | Pass — Dodano debug_offer_id/offer_id, raport debug_offer, fallback odczytu custom_label_1 po localName oraz metryki matched_existing_rows/updated_rows. Runtime import/SELECT nie zostal wykonany, bo lokalny MySQL odmawia polaczenia. |
|
|
|
|
## Accomplishments
|
|
|
|
- Task 1: Wydziel osobny cron XML feed: Dodano Cron::cron_xml_feed_import, endpoint w dashboardzie cron, usunieto wywolanie XmlFeedImporter z cron_universal. Lint OK; grep potwierdza wywolania tylko w nowym cronie i Clients::force_sync.
|
|
- Task 2: Dodaj reczne odswiezanie XML Feed w /clients: Dodano opcje XML Feed w dropdownie /clients oraz obsluge pipeline xml_feed w Clients::force_sync z natychmiastowym importem i raportem. Lint OK.
|
|
- Task 3: Zdiagnozuj i napraw custom_label_1 dla pomysloweprezenty.pl offer_id 2084: Dodano debug_offer_id/offer_id, raport debug_offer, fallback odczytu custom_label_1 po localName oraz metryki matched_existing_rows/updated_rows. Runtime import/SELECT nie zostal wykonany, bo lokalny MySQL odmawia polaczenia.
|
|
|
|
## Files Modified
|
|
|
|
- `autoload/controls/class.Cron.php`
|
|
- `autoload/controls/class.Users.php`
|
|
- `autoload/controls/class.Clients.php`
|
|
- `templates/clients/main_view.php`
|
|
- `autoload/services/class.XmlFeedImporter.php`
|
|
- `autoload/controls/class.Cron.php`
|
|
|
|
## Deviations
|
|
|
|
Runtime verification against local DB was not possible: local MySQL refused connection, so `/cron/cron_xml_feed_import?client_id=<id>&debug_offer_id=2084` and SELECT for offer_id=2084 must be verified on the target environment.
|
|
|
|
---
|
|
*Phase: 07-xml-feed-cron-refresh, Plan: 01*
|
|
*Completed: 2026-04-30* |