Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumb - componente na versão 17 com erro no link da Rota #1979

Open
8 tasks
ricardohmlsp opened this issue Mar 5, 2024 · 1 comment
Open
8 tasks
Labels
status: awaiting author Additional information has been requested from the author status: triage Issue or pull request that need to be triaged and assigned to a reviewer

Comments

@ricardohmlsp
Copy link

ricardohmlsp commented Mar 5, 2024

Componente não faz o direcionamento correto não respeita a rota.
Tenho uma rota que aponta pro componente teste
url no navegador fica localhost:4200/teste -OK
ao acessar tenho um Breadcrumb da seguinte forma
<po-breadcrumb
[p-items]="[
{ label: 'Home', link: 'home' },
{ label: 'Teste',link: 'teste'}
]"
e clicar em Home ele tenta ir pra rota
teste/home ao invez de apenas home

/ //////////////////////////////////Rotas
import { Routes } from '@angular/router';
import { TesteComponent } from './components/teste/teste.component';
import { HomeComponent } from './components/home/home.component';

export const routes: Routes = [
{
path: '',
component: HomeComponent,
},
{
path: 'home',
component: HomeComponent,
},
{
path: 'teste',
component: TesteComponent,
},
];
///////////////////////////////////////////////////////////////////////////////

core.mjs:11754 ERROR Error: NG04002: Cannot match any routes. URL Segment: 'teste/home'
at Recognizer.noMatchError (router.mjs:3646:12)
at router.mjs:3679:20
at catchError.js:10:39
at OperatorSubscriber2._this._error (OperatorSubscriber.js:25:21)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)
at Subscriber2.error (Subscriber.js:43:18)
at Subscriber2._error (Subscriber.js:67:30)

Ambiente

  • PO UI: 17
  • Angular: 17.0.4
  • Browser(s):
    • [ X] Chrome
    • Firefox
    • Edge
    • Safari
    • IE 11
    • Outros
  • Operating System:
    • [ X] Windows
    • macOS
    • Ubuntu
    • Outros

Observações

Tempo de Resposta PO UI --> Em até 7 dias úteis.
Tempo de Retorno Solicitante --> 35 dias corridos
Issues sem retorno do solicitante por mais de 35 dias corridos serão encerradas.

@ricardohmlsp ricardohmlsp added the bug Something isn't working label Mar 5, 2024
@anliben
Copy link
Contributor

anliben commented Mar 5, 2024

Boa Tarde @ricardohmlsp, tudo bem?

Para podermos apoiá-lo precisaremos de mais detalhes para entender a situação

Detalhe passo a passo a reprodução da ocorrência, inclua evidências utilizando imagens, vídeos ou gifs:

  • Passo 1...*
  • Passo 2...
  • Detalhe o comportamento atual:
  • Detalhe o comportamento que você espera ver:

Informe a versão dos ambientes:

  • PO UI: Ex. v15.8.0
  • Angular: Ex. 15
  • Node: Ex. 15

Informe o Browser:

  • Chrome
  • Firefox
  • Edge
  • Safari
  • IE 11
  • Outros

Informe e o Sistema Operacional:

  • Windows
  • macOS
  • Ubuntu
  • Outros

Aguardamos seu retorno!

@anliben anliben added status: triage Issue or pull request that need to be triaged and assigned to a reviewer status: awaiting author Additional information has been requested from the author and removed bug Something isn't working labels Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: awaiting author Additional information has been requested from the author status: triage Issue or pull request that need to be triaged and assigned to a reviewer
Projects
None yet
Development

No branches or pull requests

2 participants