Skip to content

Commit 62830dd

Browse files
authored
Merge pull request #6858 from Countly/ar2rsawseen/master2
Fixes
2 parents 8c298b4 + 6302568 commit 62830dd

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## Version 25.03.25
2+
Fixes:
3+
- [crashes] Fixed resolving audit log recording
4+
- [location] Fixed updating none gps coordinate location after gps location was used
5+
-
26
Enterprise Fixes:
37
- [ab-testing] Add script for fixing variant cohort
48
- [groups] Fix user permission update after updating user group permission

api/parts/data/usage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ plugins.register("/sdk/user_properties", async function(ob) {
10301030

10311031
if (plugins.getConfig('api', params.app && params.app.plugins, true).city_data === true && !userProps.loc && typeof data.lat !== "undefined" && typeof data.lon !== "undefined") {
10321032
// only override lat/lon if no recent gps location exists in user document
1033-
if (!params.app_user.loc || (params.app_user.loc.gps && params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600)) {
1033+
if (!params.app_user.loc || !params.app_user.loc.gps || params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600) {
10341034
userProps.loc = {
10351035
gps: false,
10361036
geo: {
@@ -1061,7 +1061,7 @@ plugins.register("/sdk/user_properties", async function(ob) {
10611061

10621062
if (plugins.getConfig('api', params.app && params.app.plugins, true).city_data === true && !userProps.loc && data.ll && typeof data.ll[0] !== "undefined" && typeof data.ll[1] !== "undefined") {
10631063
// only override lat/lon if no recent gps location exists in user document
1064-
if (!params.app_user.loc || (params.app_user.loc.gps && params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600)) {
1064+
if (!params.app_user.loc || !params.app_user.loc.gps || params.time.mstimestamp - params.app_user.loc.date > 7 * 24 * 3600) {
10651065
userProps.loc = {
10661066
gps: false,
10671067
geo: {

plugins/crashes/api/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1487,7 +1487,7 @@ plugins.setConfigs("crashes", {
14871487
var crashes = params.qstring.args.crashes || [params.qstring.args.crash_id];
14881488
common.db.collection('app_crashgroups' + params.qstring.app_id).update({'_id': {$in: crashes} }, {"$set": {is_resolving: true}}, {multi: true}, function() {
14891489
for (var i = 0; i < crashes.length; i++) {
1490-
plugins.dispatch("/systemlogs", {params: params, action: "crash_shown", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
1490+
plugins.dispatch("/systemlogs", {params: params, action: "crash_resolving", data: {app_id: params.qstring.app_id, crash_id: params.qstring.args.crash_id}});
14911491
}
14921492
common.returnMessage(params, 200, 'Success');
14931493
return true;

plugins/crashes/frontend/public/localization/crashes.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ crashes.home.unique = Number of crashes (fatal or non-fatal) that occurred uniqu
219219
crashes.home.per-session=Number of crashes for the applied filter occurring per session, expressed as a percentage, in the selected time period.
220220
systemlogs.action.crash_resolved = Crash Resolved
221221
systemlogs.action.crash_unresolved = Crash Unresolved
222+
systemlogs.action.crash_resolving = Crash Resolving
222223
systemlogs.action.crash_shared = Crash Shared
223224
systemlogs.action.crash_unshared = Crash Unshared
224225
systemlogs.action.crash_modify_share = Crash Modified Share

0 commit comments

Comments
 (0)