Activities of "masum.ulu"

Hello fj

I'm working on it, we taking this error on authorization code flow, I've created an internal issue for that. I'll fix that

Hello again, You don't need to test it. We find the original issue here's the link: https://github.com/abpframework/abp/issues/16818 you can follow this issue. After the close issue I'll update commercial side's component for users. I'm closing this Question. If problem won't fix I'll re-open

Hello mk@incyan.com,

I've re-produce your issue I've create an issue for that, I also refunded your credit. It'll fix with 7.2-patch and 7.3-final

Hi again Mustafa,

Have you tried to create and test steps with CLI, does the error persist ?

Hi again,

Sorry for late reply, I'll try to re-produce and reply in the day

I'm sorry, it should be the yarn cache clean try this please after that re-try the steps start with 4

Hello Linch,

I've refunded your credit, We solved this problem with 7.3.0-rc.1 version, PR. When you update project It'll fixed. For workaround you can use custom error handler for 400 response after the update project you can remove safely

Example

//error.handler.ts

import { Injector } from '@angular/core';
import { HttpErrorResponse } from '@angular/common/http';
import { Observable, throwError } from 'rxjs';
import { LocalizationParam } from '@abp/ng.core';
import { Confirmation, ConfirmationService } from '@abp/ng.theme.shared';

export function handleHttpErrors(injector: Injector, httpError: HttpErrorResponse) {
  if (httpError?.status === 400) {
    return showError(
      injector,
      httpError.error.error.validationErrors[0].message,
      httpError.error.error.message,
    );
  }

  return throwError(() => httpError);
}

function showError(
  injector: Injector,
  message: LocalizationParam,
  title: LocalizationParam,
): Observable<Confirmation.Status> {
  const confirmationService = injector.get(ConfirmationService);
  return confirmationService.error(message, title, {
    hideCancelBtn: true,
    yesText: 'AbpAccount::Close',
  });
}
//app.module.ts

import {HTTP_ERROR_HANDLER} from '@abp/ng.theme.shared';
import {handleHttpErrors} from './err.handler';

@NgModule({
  declarations: [
   //declarations
  ],
  imports: [
   //Imports
  ],
  providers: [
   //Other providers,
    { provide: HTTP_ERROR_HANDLER, useValue: handleHttpErrors },
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}

Output

Hello,

Can you try to steps on the following

  • Open CMD anywhere
  • Run command: yarn cache clear
  • Go to angular folder
  • Remove .angular | node_modules | yarn.lock files the existing folders
  • Run command: yarn install
  • Run command: yarn start

Hi Mustafa,

I'll try again create project and I'll add ignore file to my project. Meanwhile can you try to create same project with your any teammate from scratch and try to re-produce same error again ? Maybe it's specifically happens in your PC ? It's not that clear issue unfortunately I'll try that again also as an alternative can you try create with CLI not with suite ?

Thanks. When will the next version be released?

We'll publish commercial preview today but this issue will be fix FINAL milestone

Showing 161 to 170 of 219 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 05:21