You are not logged in.
Boa noite, tudo bem?
Preciso de ajuda com um problema que estou enfrentando após a atualização do GLPI para a versão 10.0.14. Todos os usuários do self-service estão tendo dificuldade para fazer reservas. Eu enviei um vídeo para ilustrar o problema. Não aparece nenhum erro, simplesmente a reserva não é criada.
h t t p s: / / y o u t u . b e / X k - 4 S v u 4 9 m 8
Já verifiquei as permissões do usuário e está tudo correto. Inclusive, anexei uma captura de tela para referência.
h t t p s : / / i b b . c o / 2 P T f H S g
Revisei os logs, mas não há nenhuma entrada relacionada a este problema. Parece ser um problema específico deste usuário do self-service.
h t t p s : / / i b b . c o / F w v p F N q
Para investigar mais a fundo, utilizei o Burp Suite para analisar a requisição. Quando clico no botão para fazer a reserva, obtenho o seguinte retorno:
POST /front/reservation.form.php HTTP/1.1
Host: site
Cookie: glpi_b706538aefaa27f6c68f2991fa522b21_rememberme=%5B2%2C%22Yoy8vPuScyYB27oIVY92FtR4ESA0utxlKiUQwZEi%22%5D; glpi_b706538aefaa27f6c68f2991fa522b21=dj11rnr7naar5vllhc5osf6kom
Content-Length: 232
Cache-Control: max-age=0
Sec-Ch-Ua: "Not(A:Brand";v="24", "Chromium";v="122"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Upgrade-Insecure-Requests: 1
Origin: site
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.112 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: site /front/reservation.php...
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Priority: u=0, i
Connection: close
items%5B12%5D=12&users_id=39&resa%5Bbegin%5D=2024-04-07+00%3A00%3A00&resa%5B_duration%5D=86400&periodicity%5Btype%5D=&comment=Testandooo&add=Adicionar&_glpi_csrf_token=72d2775befa276bc62aa9d363d25a131684a55cf87200f5991f0977cf76b2e0a
Em seguida, são feitas as seguintes solicitações GET:
GET /front/reservation.php?reservationitems_id=12 HTTP/1.1
Host: site
Cookie: glpi_b706538aefaa27f6c68f2991fa522b21_rememberme=%5B2%2C%22Yoy8vPuScyYB27oIVY92FtR4ESA0utxlKiUQwZEi%22%5D; glpi_b706538aefaa27f6c68f2991fa522b21=dj11rnr7naar5vllhc5osf6kom
Sec-Ch-Ua: "Not(A:Brand";v="24", "Chromium";v="122"
Sec-Ch-Ua-Mobile: ?0
Sec-Ch-Ua-Platform: "Windows"
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.112 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-Dest: document
Referer: site /front/reservation.form.php
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Priority: u=0, i
Connection: close
E depois isso:
GET /ajax/reservations.php?action=get_events&reservationitems_id=12&start=2024-02-25T00%3A00%3A00Z&end=2024-04-07T00%3A00%3A00Z&timeZone=UTC HTTP/1.1
Host: site
Cookie: glpi_b706538aefaa27f6c68f2991fa522b21_rememberme=%5B2%2C%22Yoy8vPuScyYB27oIVY92FtR4ESA0utxlKiUQwZEi%22%5D; glpi_b706538aefaa27f6c68f2991fa522b21=dj11rnr7naar5vllhc5osf6kom
Sec-Ch-Ua: "Not(A:Brand";v="24", "Chromium";v="122"
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.112 Safari/537.36
Sec-Ch-Ua-Platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: site /front/reservation.php...
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Priority: u=1, i
Connection: close
E Por ultimo:
GET /ajax/reservations.php?action=get_events&reservationitems_id=12&start=2024-02-25T00%3A00%3A00Z&end=2024-04-07T00%3A00%3A00Z&timeZone=UTC HTTP/1.1
Host: site
Cookie: glpi_b706538aefaa27f6c68f2991fa522b21_rememberme=%5B2%2C%22Yoy8vPuScyYB27oIVY92FtR4ESA0utxlKiUQwZEi%22%5D; glpi_b706538aefaa27f6c68f2991fa522b21=dj11rnr7naar5vllhc5osf6kom
Sec-Ch-Ua: "Not(A:Brand";v="24", "Chromium";v="122"
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.112 Safari/537.36
Sec-Ch-Ua-Platform: "Windows"
Accept: */*
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: site /front/reservation.php...
Accept-Encoding: gzip, deflate, br
Accept-Language: pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Priority: u=1, i
Connection: close
Alguem consegue me ajudar por favor?
Offline
Isso pode ter sido corrigido por:
https://github.com/glpi-project/glpi/pull/16784
Este patch será incluído no GLPI 10.0.15.
GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.
Offline
Resolvido, Obrigado pela ajuda!
Pode fechar tópico.
Offline