bug fix
This commit is contained in:
parent
9a64a684d1
commit
93e501d65f
|
@ -4,7 +4,7 @@
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
## [v2.0.0] - 2023-12-04
|
## [v2.0.0-SNAPSHOT] - 2023-12-04
|
||||||
|
|
||||||
- Support for Cassandra 4.1.3 using DataStax java driver
|
- Support for Cassandra 4.1.3 using DataStax java driver
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.portal</groupId>
|
<groupId>org.gcube.portal</groupId>
|
||||||
<artifactId>social-networking-library</artifactId>
|
<artifactId>social-networking-library</artifactId>
|
||||||
<version>2.0.0</version>
|
<version>2.0.0-SNAPSHOT</version>
|
||||||
<name>gCube Social Networking Library</name>
|
<name>gCube Social Networking Library</name>
|
||||||
<description>
|
<description>
|
||||||
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.
|
The gCube Social Networking Library is the 'bridge' between your gCube Applications and the social networking facilities.
|
||||||
|
|
|
@ -2316,7 +2316,8 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
//if there are no settings for this user create an entry and put all of them at true
|
//if there are no settings for this user create an entry and put all of them at true
|
||||||
List<Row> results = result.all();
|
List<Row> results = new ArrayList<>();
|
||||||
|
if(result!=null) results = result.all();
|
||||||
_log.info("Result set empty? " + results.isEmpty());
|
_log.info("Result set empty? " + results.isEmpty());
|
||||||
if (results.isEmpty()) {
|
if (results.isEmpty()) {
|
||||||
_log.info("Userid " + userid + " settings not found, initiating its preferences...");
|
_log.info("Userid " + userid + " settings not found, initiating its preferences...");
|
||||||
|
|
Loading…
Reference in New Issue