Compare commits

...

6 Commits

Author SHA1 Message Date
prastoin 3241ecef35 chore(all): version 0.42.2 2025-02-14 19:05:31 +01:00
Guillim a6b0eba0d7 Fixing unhandled exception for microsoft driver (#10223)
Fixing a difficult bug: an unhandled exception for microsoft driver when
one of the many Microsoft BATCH request failed.
2025-02-14 19:04:20 +01:00
Paul Rastoin 0a2ea0a64c [0.42][FIX] Seeder activate rich text v2 feature flag (#10229)
as per title
2025-02-14 19:04:14 +01:00
Charles Bochet 9844f56aa9 update seeding views to seed the new bodyV2 field on workspace creation (#10221)
As per title
2025-02-14 15:49:30 +01:00
prastoin 3d66f6de46 chore(all): v0.42.1 2025-02-14 15:49:20 +01:00
prastoin 3050bc2d21 chore(all): sed version 0.42.0 2025-02-14 13:52:30 +01:00
13 changed files with 27 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-e2e-testing",
"version": "0.42.0-canary",
"version": "0.42.2",
"description": "",
"author": "",
"private": true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-emails",
"version": "0.42.0-canary",
"version": "0.42.2",
"description": "",
"author": "",
"private": true,
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-front",
"version": "0.42.0-canary",
"version": "0.42.2",
"private": true,
"type": "module",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-server",
"version": "0.42.0-canary",
"version": "0.42.2",
"description": "",
"author": "",
"private": true,
@@ -73,7 +73,7 @@ export const seedFeatureFlags = async (
{
key: FeatureFlagKey.IsRichTextV2Enabled,
workspaceId: workspaceId,
value: false,
value: true,
},
{
key: FeatureFlagKey.IsNewRelationEnabled,
@@ -41,7 +41,7 @@ export const notesAllView = (
{
fieldMetadataId:
objectMetadataStandardIdToIdMap[STANDARD_OBJECT_IDS.note].fields[
NOTE_STANDARD_FIELD_IDS.body
NOTE_STANDARD_FIELD_IDS.bodyV2
],
position: 2,
isVisible: true,
@@ -87,7 +87,7 @@ export const tasksAllView = (
{
fieldMetadataId:
objectMetadataStandardIdToIdMap[STANDARD_OBJECT_IDS.task].fields[
TASK_STANDARD_FIELD_IDS.body
TASK_STANDARD_FIELD_IDS.bodyV2
],
position: 7,
isVisible: true,
@@ -134,7 +134,12 @@ export class MicrosoftGetMessagesService {
return response.body;
}
return { error: response.error };
return {
error: {
...response.body.error,
statusCode: response.status,
},
};
});
}
}
@@ -10,6 +10,13 @@ import {
@Injectable()
export class MicrosoftHandleErrorService {
public handleMicrosoftMessageFetchError(error: GraphError): void {
if (!error.statusCode) {
throw new MessageImportDriverException(
`Microsoft Graph API unknown error: ${error}`,
MessageImportDriverExceptionCode.UNKNOWN,
);
}
if (error.statusCode === 401) {
throw new MessageImportDriverException(
'Unauthorized access to Microsoft Graph API',
@@ -91,8 +91,10 @@ export class MessageImportExceptionHandlerService {
[messageChannel.id],
workspaceId,
);
return;
throw new MessageImportException(
`Unknown error occurred multiple times while importing messages for message channel ${messageChannel.id} in workspace ${workspaceId}`,
MessageImportExceptionCode.UNKNOWN,
);
}
const messageChannelRepository =
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-shared",
"version": "0.42.0-canary",
"version": "0.42.2",
"license": "AGPL-3.0",
"main": "./dist/index.js",
"scripts": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-ui",
"version": "0.42.0-canary",
"version": "0.42.2",
"type": "module",
"main": "./src/index.ts",
"exports": {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "twenty-website",
"version": "0.42.0-canary",
"version": "0.42.2",
"private": true,
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-website node ../../node_modules/nx/bin/nx.js",