benjaminkott / benjaminkott/bootstrap_package

Wrong path for page TSconfig of backend layouts

Open
#1,572 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Bug Report

## Prerequisites

* [ ] Can you reproduce the problem on TYPO3 v11.5 LTS
* [x] Can you reproduce the problem on TYPO3 v12.4 LTS
* [x] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Abenjaminkott+repo%3Abenjaminkott%2Fbootstrap_package)
to see if your bug or enhancement is already reported?

## Description

The import path for the page TSconfig of the backend layouts in folder [Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts](https://github.com/benjaminkott/bootstrap_package/tree/df34fd31168c4aefc034e738bd68b97bb18a19de/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts) is wrong: **Sets/** is missing...

## Steps to Reproduce

1. Include backend layout config either via `@import` in own file or via page settings.
2. Open module "Page TSconfig"
3. Select "Included page TSconfig"
4. See error message/warning from syntax scanner like `Import does not find a file in "EXT:bootstrap_package/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts/default.tsconfig", line number "1"`

### Expected behavior

Import should work, thus the path should be like `@import 'EXT:bootstrap_package/Configuration/Sets/BackendLayouts/PageTsConfig/BackendLayouts/default.tsconfig'`

### Actual behavior

Current import looks like `@import 'EXT:bootstrap_package/Configuration/BackendLayouts/PageTsConfig/BackendLayouts/default.tsconfig'`

## Versions

Since v15.0.2 - commit 493e840 to be more precise...

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the imports under Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts and compare them with the expected Configuration/Sets/BackendLayouts/PageTsConfig/BackendLayouts path. Reproduce the issue through the Page TSconfig module and confirm that the syntax scanner no longer reports a missing file.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.