• Geral
  • Nova plataforma de discursão (fórum)

Finally I add an --ignore-platform-reqs and it worked ok. This is what I did:
Make sure ddbb is empty and no novosga folder exists

  • WAMP64 CONFIG: (c://wamp64/www/)
  • Wamp64 version: 3.1.0 64bits
  • Apache: 2.4.23
  • Php: 7.1.11
  • MySQL: 5.7.14
  1. create MySQL ddbb:
    • name: novosga
    • cotejamiento: utf8mb4_unicode_ci
  2. composer create-project "novosga/novosga:v2.0.x-dev" novosga --ignore-platform-reqs
  3. Edit file .env (password and database username)
    • DATABASE_PASS=123456
    • DATABASE_URL="mysql://jzapata@127.0.0.1:3306/novosga?charset=utf8mb4&serverVersion=5.7"
  4. cd novosga
  5. php bin/console novosga:install (fill out data requested)
  6. php bin/console server:run

Bon dia!
Now I got an error:

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "novosga_attendance_index" as such route does not exist.").

in templates\default\include\menu.html.twig (line 10):

<a href="{{path(module.homeRoute)}}" class="dropdown-item">

I got all routes ok in bundles.php

return [
    Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
    Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
    FOS\OAuthServerBundle\FOSOAuthServerBundle::class => ['all' => true],
    Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
    Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true],
    Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
    Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
    Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
    Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
    Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
    Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
    Novosga\TriagemBundle\NovosgaTriagemBundle::class => ['all' => true],
    Novosga\MonitorBundle\NovosgaMonitorBundle::class => ['all' => true],
    Novosga\ReportsBundle\NovosgaReportsBundle::class => ['all' => true],
    Novosga\SettingsBundle\NovosgaSettingsBundle::class => ['all' => true],
    Novosga\UsersBundle\NovosgaUsersBundle::class => ['all' => true],
    Novosga\AttendanceBundle\NovosgaAttendanceBundle::class=>['all'=>true],
];

I been trying to identify all morning with no success.

Any help available ?

Regards,

Juan

Solucionado:

php bin/console cache:clear
6 dias depois
8 dias depois
20 dias depois

Bon dia Rogeriolino. Feliz Ano Novo!
This is a little report on RC2 on my machine:
I have installed RC2 in Windows Linux Bash (Ubuntu16) and when I try to change any option (Atendimento, Monitor, Relatorios, etc) it log me out so I can not test it.
But If I use RC2 downloaded 5 days ago, I can access that options, but fail trying to use Atendimento (Get into a loop aking for Guiche Number) and also I can not pick up a senha (triaguem), result in this error: error.new_ticket

Regards and waiting for a new release to keep testing it!!

Obrigado.

Juan

    juanzapatac how are you using Novo SGA via the WSL? Have you installed a http server or using via PHP builtin server? Tried docker?

    Thanks for testing!

    Regards

    Bon dia Rogeriolino.

    I´m using WSL, I have change from dev to prod and fix .htaccess and it is working like a charm!!! Except for triagem 🙁 -> Erro ao tentar gerar nova senha

    Today I will try with docker also.

    Obrigado.

    Juan

    24 dias depois

    Sistema de discussão excelente! ele foi desenvolvido em qual sistema? Existe uma plataforma para download e que outras pessoas possam utilizar? Qual o nome desse sistema?

      14 dias depois
      um mês depois

      rogeriolino, não quis abrir um novo tópico mas queria tirar uma dúvida (ou relatar um erro):No arquivo disponibilizado para download (tanto o RC2 quanto o RC3) não tem a pasta "var", disponível quando baixamos pelo composer...Tanto é que quando tentei utilizando a versão .zip ele pede a pasta e só resolvi depois que percebi e baixei a versão pelo composer.

      Isso é normal?

        5 dias depois

        santanaanderson o diretório var é criado após instalação das dependências (composer install).

        O zip que você está baixando não é o pacote distribuível da aplicação, é o código-fonte que tem que executar a instalação depois.

        obs: O correto seria abrir outro tópico mesmo, porque esse tópico não é para tratar dúvidas de instalação.

        25 dias depois

        Bon dia Rogerio,
        I m testig last RC3 and I have found an error while editing Users Profiles and assigning Unit permissions.

        What I see is that it is posible to select same Unit and profile several times but when saving, its trigger a duplicate key error:

        An exception occurred while executing 'INSERT INTO lotacoes (usuario_id, unidade_id, perfil_id) VALUES (?, ?, ?)' with params [1, 1, 1]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1' for key 'lotacao_usuario_unidade_idx'

        I think that select box should not allow to choose same unit twice.

        Obrigado!!

        Juan

          2 meses depois

          Bom dia!

          Rogério, na versão anterior (1.5) depois que o atendente iniciava o atendimento era possível rechamar e nessa nova versão (2.0) não é mais possível.Essa função vai ser implantada na versão final?

          Essa função é importante pois às vezes chamamos uma senha e quando o trabalhador aparece por pressa iniciamos o atendimento mas depois percebemos que a senha não era aquela.Por exemplo chamamos a senha 8, iniciamos o atendimento e depois percebemos que a senha era a 9 ou o atendimento era para outro atendende.

            santanaanderson foi removida sem querer mesmo. Por questão de não fazer muito sentido ter o botão de chamar sendo que já iniciou o atendimento. Mas como você citou, acontece de só perceber algo depois de iniciado.

            Vou voltar com o botão.

            5 dias depois

            Bon día Rogerio.
            Estou feliz em ver novos commits !!
            Eu já comecei a testar e encontrei 3 problemas

            1. Deleting a API Key. It does not delete and show this errror:
              • App\Entity\OAuthClient object not found by the @ParamConverter annotation.
            2. Creating a new user:
              I can not use my name (Juan) because is less than 5 characters.
            3. I create several users and profiles, each with email addresses.
              Then I change admin email address and by mistake I use an already used email and this is the error:

            An exception occurred while executing 'UPDATE usuarios SET email = ?, updated_at = ? WHERE id = ?' with params ["jzapata@testing.com", "2018-07-13 09:42:49", 1]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'jzapata@testing.com' for key 'UNIQ_EF687F2E7927C74'

            saludos.

            Juan

              4 dias depois