Bug Report: More Datasources deleted as selected

When I delete a datasource, all datasources above this datasource gets deleted, too.

I click at the bottom at delete, all with the begining “f” are deleted:

I checked the CFConfig.json, the datasources are deleted.

Don’t forget to tell us about your stack!

OS: Linux
Java Version: 21.0.8
Tomcat Version: 11.0.9
Lucee Version: 6.2.4.24 (tryed other 6.2. too)

1 Like

It’s the same for scheduled tasks and selecting resume or pause.

ahhh, you both have null support enabled server wide?

Fixed

https://luceeserver.atlassian.net/browse/LDEV-6065

1 Like

FYI also seems to happen on the “mappings” page, even when using SNAPSHOT 7.0.2.50.

Are you saying the datasources bug is fixed, but mappings is still failing or both are failing?

I updated my local docker system to 7.0.2.50 SNAPSHOT and the (datasource) error still occurs, but I never added/removed snapshots in docker, so idk.

I cannot update the server with version 6.2 to a snapshot, its a productive system.

edited: datasource error, i didn’t test the mapping

ok, thanks for the feedback

Just to confirm, did you both have nullsuport enabled server wide?

Yes, full null support enabled.

um ok, can you try stopping, deleting the felix-cache and restarting ( there’s an annoying bug with cached bundles)

Lucee 6.2.4.24:

/etc/init.d/lucee_ctl stop
cd /opt/lucee/tomcat/lucee-server/felix-cache
rm * -rf
/etc/init.d/lucee_ctl start

It still deletes more than the selected datasource.

Yes, have NULL support enabled server wide. Yes, I was referring to mapping (and for scheduled tasks) but I hadn’t checked on datasources. It happened for mapping when I first upgraded to 7.0.2.50 SNAPSHOT. Since then I’ve tried to reproduce for both mapping as well as scheduled tasks and I have not seen the issue re-occur. Will report back if it happens again.

Um, as per the ticket, fix version is 6.2.5.22 ?

Ok, Updated to 6.2.5.27-SNAPSHOT; cleared the felix-cache; now it is fine.

1 Like

3 posts were split to a new topic: Cast exception with docker 6.2 image