Closed Bug 1508474 Opened 1 year ago Closed 5 months ago

[translate] Unapproving resets the textarea with the translation

Categories

(Webtools :: Pontoon, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: felix.bau, Assigned: henikilana, Mentored)

Details

(Whiteboard: outreachyround19)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

I wrote a translation in the textarea and then unapproved one of the strings below.
I wanted to suggest my string after that.


Actual results:

The textarea was reset to the last translation that I just unapproved.
It deleted my translation.


Expected results:

I definitely didn't expect that to happen.
Oh and there was no dialog like "You have unsaved changes"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: unapproving resets the textarea with the translation → [translate] Unapproving resets the textarea with the translation

The solution here is to check for unsaved changes before executing review actions.

Mentor: m

Hello Matjaz, I am an Outreachy applicant. Please may I have this issue assigned to me?

Hi :samuelcode, I've assigned the bug to you! Please let me know if you have any questions, either here or in #pontoon on IRC.

You can start by installing Pontoon locally using Docker.

Once you have a working local environment, please make sure to read our contribution docs. It contains information on how to style code, how to run tests, how to name your commits, etc. All the things you need to know if you want your work to be merged into Pontoon!

Assignee: nobody → sam.odum1
Status: NEW → ASSIGNED

We're getting lots of requests by Outreachy participants, so we often run out of Mentored bugs. We've decided to unassign all Mentored bugs until the assignee sets up a development environment.

Please send us a screenshot of your working development environment via #pontoon on Mozilla IRC and we'll assign you a Mentored bug afterwards.

Thanks for understanding!

Assignee: sam.odum1 → nobody
Status: ASSIGNED → NEW
Assignee: nobody → henikilana
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Whiteboard: outreachyround19
You need to log in before you can comment on or make changes to this bug.