Urgently! New Error. ReferenceError: bootstrap is not defined

Please, I need urgend help.
What is the reason of this Error
ReferenceError: bootstrap is not defined | this.GetBootstrapVersion@http://localhost:8000/Pfandportal/Pfandportal.js:40432:7

I have the new WebCore 2.0.5 installed and I have seen, this function is new in 2.0.5
We have a big project and our Webdesigner use "https://webpack.js.org/". This includes Bootstrap
Bootstrap & Webpack · Bootstrap v5.2

Last week, everything was ok.
I must find a solution today.
Can I install WebCore 2.0.4?
Or what have I to do in the html-code? Inserting a separate Bootstrap? At which position?

Many thanks
Thomas

ERROR<br><br>ReferenceError: bootstrap is not defined | this.GetBootstrapVersion@http://localhost:8000/Pfandportal/Pfandportal.js:40432:7
this.RenderList@http://localhost:8000/Pfandportal/Pfandportal.js:82848:43
this.ItemsChanged@http://localhost:8000/Pfandportal/Pfandportal.js:82775:16
cb@http://localhost:8000/Pfandportal/Pfandportal.js:241:26
this.DoChanged@http://localhost:8000/Pfandportal/Pfandportal.js:82613:40
this.Update@http://localhost:8000/Pfandportal/Pfandportal.js:82610:12
this.Changed@http://localhost:8000/Pfandportal/Pfandportal.js:14202:41
this.RemoveItem@http://localhost:8000/Pfandportal/Pfandportal.js:14175:12
this.SetCollection@http://localhost:8000/Pfandportal/Pfandportal.js:14050:56
this.Destroy@http://localhost:8000/Pfandportal/Pfandportal.js:14089:12
this.Destroy@http://localhost:8000/Pfandportal/Pfandportal.js:82459:43
createClass/c.$create@http://localhost:8000/Pfandportal/Pfandportal.js:344:28
this.Add@http://localhost:8000/Pfandportal/Pfandportal.js:14248:32
this.Add$1@http://localhost:8000/Pfandportal/Pfandportal.js:82635:44
this.CreateItem@http://localhost:8000/Pfandportal/Pfandportal.js:101737:39
this.InitPaginator@http://localhost:8000/Pfandportal/Pfandportal.js:101751:19
this.Init@http://localhost:8000/Pfandportal/Pfandportal.js:101831:12
this.DatasetLoadCallback@http://localhost:8000/Pfandportal/Pfandportal.js:101987:29
cb@http://localhost:8000/Pfandportal/Pfandportal.js:241:26
this.InternalAfterOpen@http://localhost:8000/Pfandportal/Pfandportal.js:101655:40
cb@http://localhost:8000/Pfandportal/Pfandportal.js:241:26
this.DoAfterOpen@http://localhost:8000/Pfandportal/Pfandportal.js:67716:41
this.OpenCursorcomplete@http://localhost:8000/Pfandportal/Pfandportal.js:67990:16
this.SetActive@http://localhost:8000/Pfandportal/Pfandportal.js:68017:68
this.Open@http://localhost:8000/Pfandportal/Pfandportal.js:68759:12
this.HandleRequestResponse@http://localhost:8000/Pfandportal/Pfandportal.js:67312:16
cb@http://localhost:8000/Pfandportal/Pfandportal.js:241:26
this.DoAfterRequest@http://localhost:8000/Pfandportal/Pfandportal.js:69342:44
this.OnSuccess@http://localhost:8000/Pfandportal/Pfandportal.js:75757:12
cb@http://localhost:8000/Pfandportal/Pfandportal.js:241:26
this.DoLoad@http://localhost:8000/Pfandportal/Pfandportal.js:69817:24
LocalSuccess@http://localhost:8000/Pfandportal/Pfandportal.js:70000:19
LocalSuccess@http://localhost:8000/Pfandportal/Pfandportal.js:58437:34
XhrLoad@http://localhost:8000/Pfandportal/Pfandportal.js:58579:45
 at http://localhost:8000/Pfandportal/Pfandportal.js [40432:7]```

How to reproduce?
Do you call GetBootstrapVersion or use the property Application.BootstrapVersion?

I don't know, how you can reproduce it.
I don't call GetBootstrapVersion or Application.BootstrapVersion.
But, if I include this

<script src="bootstrap.bundle.min.js" type="text/javascript"></script>

additionally (in the middle of the HTML code), then it works.

I have a Mainpage and I place this (Sub-Page) in a container on the Mainpage.

I think I can get along for today.
But for the future I would be interested in working together between TMS Webcore and the "Webpack/Bootstrap". All of our projects are created by our web developers with Webpack.

Maybe I should open a new topic here with the title TMS Webcore with Webpack/Boatstrap. Perhaps other developers have experience with this package.

Many Thanks
Best regards
Thomas

If you have a project with which we can reproduce this, please send it.
So far, we could not see a problem and we cannot see a cause of this issue other than when something in your application is using the property Application.BootstrapVersion without having bootstrap referenced.

Now, I have made a new project with the wizard "TMS XData Web Application". (with my own XData Server)
I start the application only with changing/delete the token for authorization. Nothing else is changed.
I start and if I switch to one list (with TWebDBTableControl), I get the bootstrap error.

Attachment: screenshot and complete project (without XData-Server) as zip-file

dummy3.zip (3.1 MB)

When I test your project here, I get:

I cannot send my whole DB and Server-System, but

This is the original current TMS XData Web Application Wizard in Delphi "New Project"
The only thing is, that I use my own local XData Server.
I think it will be the same for every server. But I haven't tested that yet.

I retested the music demo: no error
I retested an empty new XData/TMS WEB Core app: no error

So, please check these demos and inform what is different in your app from these demos.

Thank you, Bruno.
I will try different scenarios.