Skip to content

Vendor the utilities from abap-util, drop src/99/01 - #50

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/vibrant-fermat-dlllen
Nov 2, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/vibrant-fermat-dlllen

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

abap2UI5's src/99/01 (z2ui5_cl_util*, z2ui5_cx_util_error, z2ui5_t_91) is kept for compatibility only. This moves sql-console onto renamed copies from abap-util, the pattern popups already uses.

Changes

New Copy of Replaces
z2ui5_sql_cl_context zabaputil_cl_util_context, trimmed to the 16 members used here + helpers (23 of 315 methods) z2ui5_cl_util
z2ui5_sql_cl_db zabaputil_cl_util_db, as-is z2ui5_cl_util_db
table z2ui5_sql_db zabaputil_t_91, as-is z2ui5_t_91
z2ui5_sql_cx_error zabaputil_cx_util_error, as-is z2ui5_cx_util_error (21×)
  • ⚠️ History and draft start empty after the update. They were stored in z2ui5_t_91 and are not migrated (decided: start fresh; the rows stay in z2ui5_t_91).
  • z2ui5_cl_ajson and z2ui5_cl_srt_* (for xml_srtti_*) stay the core's own classes, always installed with abap2UI5.
  • Table name has 12 characters, so the namespace rename (zabap2ui5_sql_db) stays within the 16-character limit.
  • The db copy is excluded from select_single_full_key / select_add_order_by in abaplint.jsonc instead of rewritten, so it stays diffable against the master.
  • Two stale non-released-api … src/99/01 entries removed from abap2ui5lint-baseline.json.
  • AGENTS.md: section on the utility copies.

Verification

  • npm run check: abaplint Standard + Cloud 0 issues, abap2ui5lint no findings, rename check 0 issues
  • Not run: the app on a real system (table activation, history roundtrip).

Generated by Claude Code

sql-console no longer uses anything from abap2UI5's frozen src/99/01:

- z2ui5_sql_cl_context: renamed copy of abap-util's
  zabaputil_cl_util_context, trimmed to the 16 members used here plus
  their helpers (23 of 315 methods); replaces z2ui5_cl_util
- z2ui5_sql_cl_db + table z2ui5_sql_db: renamed copies of
  zabaputil_cl_util_db / zabaputil_t_91; replace z2ui5_cl_util_db and
  z2ui5_t_91 for the query history and the draft
- z2ui5_sql_cx_error: renamed copy of zabaputil_cx_util_error; replaces
  z2ui5_cx_util_error (21 places)

The history and the draft start empty after the update: they were
stored in z2ui5_t_91, which is not migrated (the rows stay there).

z2ui5_cl_ajson and z2ui5_cl_srt_* (xml_srtti_*) remain the core's own
classes, which are always installed with abap2UI5. The copy of
zabaputil_cl_util_db is excluded from select_single_full_key and
select_add_order_by instead of rewritten, so it stays diffable against
the master. The two stale non-released-api baseline entries are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmFss2kJkNtJWUEfNme
@oblomov-dev
oblomov-dev merged commit add3137 into main Nov 2, 2026
7 checks passed
@oblomov-dev
oblomov-dev deleted the claude/vibrant-fermat-dlllen branch November 2, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants