-
Notifications
You must be signed in to change notification settings - Fork 7
fix(journal): Corrige falha de atualização de journal_history, causando status "inprogress" e impedindo a publicação #1052
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
Merged
robertatakenaka
merged 36 commits into
scieloorg:main
from
robertatakenaka:main_atualiza_com_rc_journal
Aug 26, 2026
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d9ae1ad
fix(journal): corrige Journal.get_registered para tratar ISSN print/e…
robertatakenaka 10ae39d
feat(journal): adiciona JournalCollectionViewSet ao Wagtail admin
robertatakenaka 537b461
chore(journal): adiciona pacote de testes journal/tests
robertatakenaka 89d29b7
test(journal): adiciona testes para Journal.get_registered
robertatakenaka d4365d4
feat(proc): adiciona property journal_history em JournalProc
robertatakenaka b88da9b
refactor(proc): unifica get_or_fetch/ensure_proc_exists em BaseDataCh…
robertatakenaka a2d5d61
refactor(proc): renomeia ensure_*_proc_exists para ensure_*_data_is_u…
robertatakenaka 4ec1e2f
chore(proc): adiciona pacote de testes proc/tests
robertatakenaka eb69780
test(proc): adiciona testes para source_core_api
robertatakenaka 0c6faa8
feat(publication): adiciona translate_status e força status current
robertatakenaka 84ffef2
refactor(publication): move cálculo de current_status para JournalPay…
robertatakenaka 53e7c39
chore(publication): adiciona pacote de testes publication/tests
robertatakenaka 30b4f26
test(publication): adiciona testes para translate_status, JournalPayl…
robertatakenaka 5cf8141
test(publication): adiciona testes para build_journal
robertatakenaka aed78e2
Corrige o nome do campo collection__acron
robertatakenaka 4f20254
refactor(upload): migra criacao de fasciculos para IssueDataChecker
robertatakenaka e8ec0c6
Move tests.py de journal, proc, publication para a subpasta respectiv…
robertatakenaka 4aeef11
fix(publication): usar get_webpage_items(purpose=QA) e ampliar captur…
robertatakenaka 64f45f3
test(publication): reescrever ArticleAvailabilityTest para o novo flu…
robertatakenaka e9b38e9
test(htmlxml): usar MagicMock com _meta para passar na checagem de co…
robertatakenaka 7fc0484
test(migration): corrigir fixtures de paths para refletir source_path…
robertatakenaka 59aa2f1
refactor(journal): simplificar OfficialJournal.get() usando Q(__in=) …
robertatakenaka df0bac7
feat(proc): processar location da API do Core e simplificar criação d…
robertatakenaka 54d809d
fix(article): evitar mascarar erros inesperados na verificação de URL…
robertatakenaka bd22157
fix(publication): evitar mascarar erros inesperados na checagem de di…
robertatakenaka 30eb9f7
refactor(journal): substituir Journal.is_complete por verificação dir…
robertatakenaka 9c53cc0
feat(journal): permitir filtrar e visualizar periódicos incompletos n…
robertatakenaka 78bbdd7
refactor(proc): distinguir explicitamente a origem do dado (local ou …
robertatakenaka ddf2f5f
test(proc): atualizar testes para o novo método is_local_or_remote
robertatakenaka 340ac84
fix(publication): republicar periódico na Core quando houver campos o…
robertatakenaka bc790b6
test(publication): atualizar testes de publish_journal para o novo cr…
robertatakenaka 75d9c58
Corrige atribuição incorreta de parâmetro na consulta de OfficialJournal
robertatakenaka 1987bbc
Corrige filtro de completude de periódicos no admin do Wagtail
robertatakenaka f9add33
Atualiza testes de is_local_or_remote para refletir retorno textual
robertatakenaka 9149070
Corrige test_source_core_api
robertatakenaka bcb1939
Corrige upload/test_controller
robertatakenaka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ao executar os testes com
make django_test compose=local.yml, a descoberta falha porque a app contém simultaneamente o arquivotests.pye o pacotetests/criado neste PR. Ambos correspondem ao mesmo módulo Python.Sugiro mover o conteúdo de
tests.pypara dentro detests/, usando um nome específico, e remover o arquivo original. Emboratests.pyseja anterior ao PR, a criação do diretório introduziu a colisão e impede a execução automática da suíte.O mesmo problema ocorre nas apps
procepublication.