Servoy 2022.06

Servoy announcements

Re: Servoy 2022.06

Postby steve1376656734 » Tue Aug 09, 2022 9:57 am

The 2022.6 release allows the developer to create record markers outside the normal validation flow using JSRecord.createMarkers(). If I use this in my code, at what point should the UI be updated?

I have added the following code to an onAction method of a button with the intention of using a record marker to indicate that a user should complete the comments field but nothing shows up on the form

Code: Select all
if (!foundset.comments || foundset.comments.length == 0) {
   var markers = foundset.getSelectedRecord().recordMarkers || foundset.getSelectedRecord().createMarkers();
   markers.report(i18nMessage.error.enterComments, 'comments'); //$NON-NLS-1$
}

Have I misunderstood how this should be used?
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Servoy 2022.06

Postby steve1376656734 » Tue Aug 23, 2022 9:51 am

My NG2 builds have suddenly stopped working this morning with the following error:
Code: Select all
./node_modules/@uppy/angular/fesm2015/uppy-angular.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
TypeError: Cannot create property 'message' on string '/Users/stevehawes/Dropbox/Servoy/workspaces/EWS NG2 Components/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/@uppy/angular/fesm2015/uppy-angular.mjs: This application depends upon a library published using Angular version 14.1.3, which requires Angular version 14.0.0 or newer to work correctly.
Consider upgrading your application to use a more recent version of Angular.

Looking at the Uppy repository on GitHub, there was a new release of the Uppy component 12 hours ago. Is this the cause of the issue and how do I stop it?

Thanks
Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Servoy 2022.06

Postby mboegem » Tue Aug 23, 2022 10:07 am

Although still on 2022.3.2 (LTS), we encountered problems with Uppy this morning, below the console output

So what now? Because we can not even launch a debug client which means no development today....

Code: Select all
./node_modules/@uppy/angular/fesm2015/uppy-angular.mjs - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js):
TypeError: Cannot create property 'message' on string '/Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/@uppy/angular/fesm2015/uppy-angular.mjs: This application depends upon a library published using Angular version 14.1.3, which requires Angular version 14.0.0 or newer to work correctly.
Consider upgrading your application to use a more recent version of Angular.
49 | }
50 | DashboardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DashboardComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
> 51 | DashboardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.3", type: DashboardComponent, selector: "uppy-dashboard", inputs: { uppy: "uppy", props: "props" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.3", ngImport: i0, type: DashboardComponent, decorators: [{
53 |             type: Component,
54 |             args: [{'
at run (/Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/@babel/core/lib/transformation/index.js:37:15)
at run.next (<anonymous>)
at Function.transform (/Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/@babel/core/lib/transform.js:25:41)
at transform.next (<anonymous>)
at step (/Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/gensync/index.js:261:32)
at /Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/gensync/index.js:273:13
at async.call.result.err.err (/Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/gensync/index.js:223:11)
at /Users/mboegem/Development/Workspace_2022.x/.metadata/.plugins/com.servoy.eclipse.ngclient.ui/target/node_modules/gensync/index.js:37:40

Error: node_modules/@uppy/angular/lib/components/dashboard-modal/dashboard-modal.component.d.ts:17:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

17     static ɵcmp: i0.ɵɵComponentDeclaration<DashboardModalComponent, "uppy-dashboard-modal", never, { "uppy": "uppy"; "props": "props"; "open": "open"; }, {}, never, never, false>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@uppy/angular/lib/components/dashboard/dashboard.component.d.ts:15:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

15     static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "uppy-dashboard", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never, false>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@uppy/angular/lib/components/drag-drop/drag-drop.component.d.ts:15:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

15     static ɵcmp: i0.ɵɵComponentDeclaration<DragDropComponent, "uppy-drag-drop", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never, false>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@uppy/angular/lib/components/progress-bar/progress-bar.component.d.ts:15:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

15     static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "uppy-progress-bar", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never, false>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@uppy/angular/lib/components/status-bar/status-bar.component.d.ts:15:18 - error TS2314: Generic type 'ɵɵComponentDeclaration' requires 7 type argument(s).

15     static ɵcmp: i0.ɵɵComponentDeclaration<StatusBarComponent, "uppy-status-bar", never, { "uppy": "uppy"; "props": "props"; }, {}, never, never, false>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[EDIT] also created a case for this as I believe this will hit any developer working with TiNG: https://support.servoy.com/browse/SVY-17371
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Servoy 2022.06

Postby mboegem » Tue Aug 23, 2022 11:31 am

[Update] Servoy is working on a solution, watch Jira case for more info.
https://support.servoy.com/browse/SVY-17371
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image

Partner of Tower - The most powerful Git client for Mac and Windows
User avatar
mboegem
 
Posts: 1743
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Servoy 2022.06

Postby steve1376656734 » Tue Aug 23, 2022 11:41 am

New version of the ServoyExtra package has been released (2022.6.4) which should fix this problem
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 327
Joined: Fri Aug 16, 2013 2:38 pm
Location: Ashford, UK

Re: Servoy 2022.06

Postby huber » Mon Aug 29, 2022 12:26 pm

In NG2, the radio buttons don't look as expected. First Screenshot is Firefox, second Safari.

macOS 12.5.1 (Monterey), ARM based MacBook 2021
You do not have the required permissions to view the files attached to this post.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Previous

Return to Announcements

Who is online

Users browsing this forum: No registered users and 15 guests

cron