Skip to content

Fix abapGit import errors caused by source lines over 255 characters - #669

Merged
oblomov-dev merged 1 commit into
standardfrom
claude/ui5-sdk-links-01-08-opwnw8
Jul 13, 2026
Merged

Fix abapGit import errors caused by source lines over 255 characters#669
oblomov-dev merged 1 commit into
standardfrom
claude/ui5-sdk-links-01-08-opwnw8

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

The reorganization merged with #668 contained source lines longer than the hard ABAP limit of 255 characters per line, which broke the abapGit import with Literals across more than one line are not allowed. The failed import then left z2ui5_cl_demo_app_038 and z2ui5_cl_demo_app_378 as empty class stubs on standard and reverted the sample_app_001 catalog to its old single-group state.

This PR restores the lost content and removes the root cause:

  • Restore the aligned implementations of app 038 (MessageViewWithGrouping) and 378 (Panel), with their long string literals split into short && chunks
  • generate-launchpad.js: wrap catalog rows whose sub would exceed the 255-char limit across multiple lines (sub literal split into && chunks)
  • Regenerate sample_app_001, restoring the per-library controls - sap.* groups and the full demo kit descriptions
  • Enforce the limit via the abaplint line_length rule (255) so this fails in CI instead of at import time, and document it in AGENTS.md

Verification

  • awk 'length > 255' over all .abap sources: no hits
  • npx abaplint: 0 issues (756 files), including the new line_length rule
  • Overview catalogs regenerated and in sync with the folder tree (150 + 195 tiles)

🤖 Generated with Claude Code

https://claude.ai/code/session_016NuzrYKkzoSiM7jnMBKee4


Generated by Claude Code

ABAP limits source lines to 255 characters; longer lines break the
import with "Literals across more than one line are not allowed".
The merged reorganization contained such lines, and the failed import
left z2ui5_cl_demo_app_038 and _378 as empty class stubs and reverted
the sample_app_001 catalog to its old single-group state.

- restore the aligned implementations of app 038 and 378 with their
  long literals split into short && chunks
- generate-launchpad.js: wrap catalog rows whose sub would exceed the
  limit across multiple lines (sub split into && chunks)
- regenerate sample_app_001, restoring the per-library groups and the
  full demo kit descriptions
- enforce the limit via the abaplint line_length rule (255) and
  document it in AGENTS.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016NuzrYKkzoSiM7jnMBKee4
@oblomov-dev
oblomov-dev merged commit 8c8a04e into standard Jul 13, 2026
5 checks passed
@oblomov-dev
oblomov-dev deleted the claude/ui5-sdk-links-01-08-opwnw8 branch July 13, 2026 21:47
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