Channel collection create adds channels mapped to `false`
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
The issue names contentcuration/contentcuration/viewsets/channelset.py, especially ChannelSetSerializer.create and update. Read those methods and find the existing channel set tests; add a regression test for a map containing both true and false, then confirm creation includes only the channel mapped to true. The issue says it is not open for contribution, so check the repository's contributing guidelines before picking it up.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.
Overview
A channel collection's channels field is a map of channel ids to true or false. ChannelSetSerializer.update adds the channels mapped to true and removes those mapped to false, but create adds every channel id in the map, including those mapped to false.
Complexity: Low
Target branch: hotfixes
Context
ChannelSetSerializer.createadds every validated channel.updatechecks each value.- Found by reading the code.
The Change
createshould add only the channels mapped totrue, asupdatedoes.
Acceptance Criteria
General
- Creating a channel collection with
channels: {"<a>": true, "<b>": false}gives a collection containing only channel<a>.
Testing
- The criterion has a regression test.
AI usage
I scoped the audit. Claude Code found this by reading the code and drafted this issue.
- Linguagem predominante
- Python
- Estrelas
- 212
- Forks
- 321
- Merge médio
- 1d 7h
- PRs com merge (30d)
- 14
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de learningequality/studio
-
Community library status changes don't update `date_updated`Talvez já em andamento @ArpitaSamanta10 assumiu hoje. Abertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
learningequality/studio#6414 · 8 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
DEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
learningequality/studio#6410 ·
Mantenedores costumam responder em até 1 dia
-
DEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
learningequality/studio#6409 ·
Mantenedores costumam responder em até 1 dia
-
DEV: backend
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
learningequality/studio#6407 ·
Mantenedores costumam responder em até 1 dia
-
Stripe webhook accepts events when no webhook secret is configuredTalvez já em andamento @adibmbrk assumiu hoje. Abertacommunity-contribution-in-progress DEV: backend good first issue help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
learningequality/studio#6404 · 3 comentários · 1 responsável ·
Mantenedores costumam responder em até 1 dia
Todas as issues de learningequality/studio
Issues semelhantes
-
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 76/100
samuelclay/NewsBlur#2214 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
MODEL_NOT_FOUND gives no suggestion for a model listed only as model:profileTalvez já em andamento @ShaiShmuel assumiu hoje. Abertaenhancement rust
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
superlinked/sie#985 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
readthedocs/readthedocs-builder#73 ·
Mantenedores costumam responder em até 1 dia