• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs GIT extension - JavaScript bug for the Italian Localization

C

Claudio Scatoli

Guest
TITLE:
GIT extension - JavaScript bug for the Italian Localization
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
GIT extension
Plesk Onyx 17.0.17 Update #42
CentOS
PROBLEM DESCRIPTION:
Hi there guys!
There's a tiny bug in the Italian localization for the GIT extension.

On the page where the GIT repositories for a domain/subdomain are listed, when clicking on the "Remove" link to remove a repo, it doesn't work it because of a javascript bug. As a result, the Git repo can't be removed.

The error from the JS console is
Code:
SyntaxError: missing ) after argument list
but it's not really missing a parenthesis: the problem is that in the italian translation of the command there's an apostrophe (as italian grammar norms dictate), and it screws with the single quotation marks used to list the command arguments.

The command is
Code:
javascript:pleskExt.Git.actions.remove('1', 'Rimuovere l'archivio "git"?');

"Rimuovere l'archivio" <- there is the problem, i guess it's just a matter of escaping that char.

Edit: sorry, i messed up with the attachments and other forum tags...
Edit2: i can't use a forum, for ****'s sake...​
STEPS TO REPRODUCE:
On the page with the list of GIT repos for a domain/subdomain, click on the link to "Remove" a repo.
brokenlink.png
ACTUAL RESULT:
The JS error interrupts the function.
error.png
EXPECTED RESULT:
A dialog asking for confirmation to remove the repo and, if confirmed, actually remove it.​
ANY ADDITIONAL INFORMATION:
Just switching Plesk's localization/language to English bypasses the bug, I then switch back to Italian​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
Last edited by a moderator:
Thank you for report.
Bug was reproduced and submitted as PPPM-7793.

Workaround: change interface language.
 
Back
Top