Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix: Don't link "String" and "Text" fields (#8801)

Wieland Lindenthal13a26e762fd2
diff --git a/frontend/src/app/components/wp-new/wp-create.service.ts b/frontend/src/app/components/wp-new/wp-create.service.ts
index 1c1ef193b22..1919dd823b2 100644
--- a/frontend/src/app/components/wp-new/wp-create.service.ts
+++ b/frontend/src/app/components/wp-new/wp-create.service.ts
@@ -315,7 +315,16 @@ export class WorkPackageCreateService extends UntilDestroyedMixin {
let links:string[] = [];
Object.keys(schema.$source).forEach(attribute => {
- if (!['Integer', 'Float', 'Date', 'DateTime', 'Duration', 'Formattable', 'Boolean', undefined].includes(schema.$source[attribute].type)) {
+ if (!['Integer',
+ 'Float',
+ 'Date',
+ 'DateTime',
+ 'Duration',
+ 'Formattable',
+ 'Boolean',
+ 'String',
+ 'Text',
+ undefined].includes(schema.$source[attribute].type)) {
links.push(attribute);
}
});