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

When deleting labels, the string labels are not removed properly #11236

Closed
2 tasks done
iamshoXy opened this issue Mar 20, 2024 · 1 comment
Closed
2 tasks done

When deleting labels, the string labels are not removed properly #11236

iamshoXy opened this issue Mar 20, 2024 · 1 comment
Assignees
Labels
bug Something is broken.
Milestone

Comments

@iamshoXy
Copy link

iamshoXy commented Mar 20, 2024

Describe the issue

Upon recreating a label, the strings still have the label assigned to it in the base language. (the one that is used for the source strings)
Clicking on the Test 5 label shows: No strings found!

Base language
Screenshot 2024-03-20 022146

Another language
image

Label page
image

Strings status of Label Test 5
image

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Navigate to the Labels page
  2. Create a label
  3. Assign a label to any string
  4. Delete the label and create it again
  5. Compare two languages, the base language should still have strings assigned to the label while the other languages don't

Expected behavior

if a label is deleted, the label should be removed from all strings in the base language.

Screenshots

No response

Exception traceback

No exception

How do you run Weblate?

Docker container

Weblate versions

  • Weblate: 5.4.2
  • Django: 4.2.10
  • siphashc: 2.4.1
  • translate-toolkit: 3.12.2
  • lxml: 5.1.0
  • pillow: 10.2.0
  • nh3: 0.2.15
  • python-dateutil: 2.8.2
  • social-auth-core: 4.5.3
  • social-auth-app-django: 5.4.0
  • django-crispy-forms: 2.1
  • oauthlib: 3.2.2
  • django-compressor: 4.4
  • djangorestframework: 3.14.0
  • django-filter: 23.5
  • django-appconf: 1.0.6
  • user-agents: 2.2.0
  • filelock: 3.13.1
  • rapidfuzz: 3.6.1
  • openpyxl: 3.1.2
  • celery: 5.3.6
  • django-celery-beat: 2.5.0
  • kombu: 5.3.5
  • translation-finder: 2.16
  • weblate-language-data: 2024.3
  • html2text: 2020.1.16
  • pycairo: 1.26.0
  • PyGObject: 3.46.0
  • diff-match-patch: 20230430
  • requests: 2.31.0
  • django-redis: 5.4.0
  • hiredis: 2.3.2
  • sentry-sdk: 1.40.5
  • Cython: 3.0.8
  • misaka: 2.1.1
  • GitPython: 3.1.42
  • borgbackup: 1.2.7
  • pyparsing: 3.1.1
  • ahocorasick_rs: 0.22.0
  • python-redis-lock: 4.0.0
  • charset-normalizer: 3.3.2
  • Python: 3.12.2
  • Git: 2.39.2
  • psycopg: 3.1.18
  • psycopg-binary: 3.1.18
  • phply: 1.2.6
  • ruamel.yaml: 0.18.6
  • tesserocr: 2.6.2
  • boto3: 1.34.47
  • zeep: 4.2.1
  • aeidon: 1.13
  • iniparse: 0.5
  • mysqlclient: 2.2.4
  • Mercurial: 6.6.3
  • git-svn: 2.39.2
  • git-review: 2.3.1
  • PostgreSQL server: 16.2
  • Database backends: django.db.backends.postgresql
  • PostgreSQL implementation: psycopg3 (binary)
  • Cache backends: default:RedisCache, avatar:FileBasedCache
  • Email setup: django.core.mail.backends.smtp.EmailBackend: smtp.gmail.com
  • OS encoding: filesystem=utf-8, default=utf-8
  • Celery: redis://cache:6379/1, redis://cache:6379/1, regular
  • Platform: Linux 6.1.0-17-arm64 (aarch64)

Weblate deploy checks

SystemCheckError: System check identified some issues:

CRITICALS:
?: (weblate.E003) Cannot send e-mail ((535, b'5.7.8 Username and Password not accepted. For more information, go to\n5.7.8  https://support.google.com/mail/?p=BadCredentials fs7-20020a05600c3f8700b00414038162e1sm522258wmb.23 - gsmtp')), please check EMAIL_* settings.
        HINT: https://docs.weblate.org/en/weblate-5.4.2/admin/install.html#out-mail

INFOS:
?: (weblate.I028) Backups are not configured, it is highly recommended for production use
        HINT: https://docs.weblate.org/en/weblate-5.4.2/admin/backup.html

System check identified 2 issues (1 silenced).

Additional context

No response

@nijel nijel added the bug Something is broken. label Mar 20, 2024
@nijel nijel added this to the 5.5 milestone Mar 20, 2024
@nijel nijel self-assigned this Mar 20, 2024
@nijel nijel closed this as completed in 99e0050 Mar 20, 2024
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

@nijel nijel mentioned this issue Mar 20, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

2 participants