No Code Attached Yet
avatar richard67
richard67
27 Jun 2023

Steps to reproduce the issue

On a clean, current 5.0-dev branch, run php ./build/build.php --remote=HEAD --exclude-gzip --exclude-bzip2.

Expected result

Build suceeds.

Actual result

> joomla@5.0.0 versioning
> node build/build.js --versioning

[Error: ENOENT: no such file or directory, lstat '/home/richard/lamp/public_html/joomla-cms-5.0-dev/build/tmp/1687872657/media/com_users/js/admin-users-mail.min.js'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'lstat',
  path: '/home/richard/lamp/public_html/joomla-cms-5.0-dev/build/tmp/1687872657/media/com_users/js/admin-users-mail.min.js'
}
`npm run versioning` did not complete as expected.

System information (as much as possible)

Current 5.0-dev branch where PR #40302 has been merged.

Additional comments

The problem seems to be that the build/media_source/com_users/joomla.asset.json file still contains the assets. They haven't been removed with #39374 from that file and so were not added back with #39431 , and later with #40385 they were not marked as deprecated.

The question is now if we can remove them from the build/media_source/com_users/joomla.asset.json without such a deprecation.

The documentation PR for the deprecation has not been merged yet: joomla/Manual#98 .

avatar richard67 richard67 - open - 27 Jun 2023
avatar joomla-cms-bot joomla-cms-bot - change - 27 Jun 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Jun 2023
avatar richard67
richard67 - comment - 27 Jun 2023

Possibly it just needs to remove the assets from build/media_source/com_users/joomla.asset.json ... but the problem is they were not marked as deprecated. @HLeithner What shall we do?

avatar richard67 richard67 - change - 27 Jun 2023
The description was changed
avatar richard67 richard67 - edited - 27 Jun 2023
avatar HLeithner
HLeithner - comment - 27 Jun 2023

I fixed this already locally in the alpha2 packages

avatar richard67 richard67 - change - 27 Jun 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-06-27 14:33:30
Closed_By richard67
avatar richard67 richard67 - close - 27 Jun 2023
avatar richard67
richard67 - comment - 27 Jun 2023

I've made a PR to fix that. Please check #41068 .

Closing as having a pull request.

Add a Comment

Login with GitHub to post a comment