Skip to main content

Long running UX bugs that I would love to finally be rid of

Comments

6 comments

  • cPRex Jurassic Moderator

    Hey there!  Give me a bit to explore these for you and I'll get back to you with more details soon!

    0
  • cPRex Jurassic Moderator

    1 - FTP Issue - By default, we include the mail, www, and ftp subdomains in all new DNS zones that are created, as these are in the zone templates you can see in WHM >> Edit Zone Templates.  If you are using the cPanel server for your DNS those records would be present unless the zone template has been modified.

    i did confirm that if the DNS templates are modified we still show the "ftp" option in the "Configure" section, so we could likely improve on that interface a bit.  I've created case CPANEL-45976 for our team to review this behavior, with the recommendation of using the hostname instead, as the hostname should always exist and be operational on a functioning system.

    2 - For this behavior, I see that the box gets filled as soon as you click out of the "Log in" box when you create the name.  This ensures there is always  directory created under domain.com/username unless the user decides to customize it.  We do have documentation about this under step 4 here:

    https://docs.cpanel.net/cpanel/files/ftp-accounts/#add-ftp-account

    and I don't believe we want to change that behavior at this time.

    3 - Can you clarify this behavior a bit?  I'm not sure what you mean by "last saved" vs "what is in the files" so I'm not entirely sure how to reproduce this behavior.

    4 - I like this idea a lot, although it may end up being a documentation issue more than an interface issue, depending on how the developers decide they want to handle it.  I've created case CPANEL-45977 to have them investigate that behavior to see if we can make it more obvious that this is a one-time detection and not an "automated for future changes" setting.

    Thanks so much for this type of feedback!

    0
  • Felix E

    Happy to help!
    And thank you for your response!

     

    Elaborating on point 3:

    From my testing, it appears that changing the selected option for Email Routing, and clicking the button "Change", causes two things to happen.

    A. It saves what option was selected in the UI. So that the same option can be pre-selected the next time the user visits the interface. This is what I meant when I say it saves the "option".

    B. It changes Exim files to get the desired behavior from the email-server. I don't know for sure all the files that it changes, but I know that at least /etc/localdomains and /etc/remotedomains files are changed. This is what I meant when I say it saves the "setting" to the "files".

    In other words. The saved Option and the saved Setting are separate.
    At the time when a new option is selected and saved, the option and setting will always match.
    But at some point later they might no longer match, depending on outside factors.

    If the saved option is to Automatically detect. Then you have no way via the UI to find out what the actual setting is. You have to run grep $domain /etc/localdomains to find out if Exim will attempt to deliver emails locally or try to send them to the domain MX.

    If the saved option is Local, Remote or Backup. Then the setting will usually match often enough to be reliable! But there could be a mismatch if something has been done to the files, perhaps via backup, or ad-hoc fixes by tech-staff. Meaning that when you are troubleshooting, you have to run grep $domain /etc/localdomains to be sure.

    Therefore I suggest that when the UI determines what option to pre-select, it selects based first on what it reads from the files, so as to to reflect the setting instead of what option was last saved.
    (If Backup and Local are the same when looking in the files, then the previously saved option can be used as a tie-breaker between those two.)
    Alternatively, instead of changing the current behavior, add a new text-field that reads the setting from the files.

    0
  • cPRex Jurassic Moderator

    Thanks for the additional details, and I do understand what you're saying now.  Is there a particular way you can reproduce them being out of sync?  I believe one would need to manually edit the /etc/remotedomains or /etc/localdomains file for the specific domain in question in order for that to happen, which isn't something we typically recommend.

    If you have a way to reproduce the issue of the setting in the UI getting out of sync I'd be happy to look into it!

    0
  • Felix E

    Editing the files is the only method that I know of to intentionally cause such a mismatch.

    I don't know by what mechanism this occurs unintentionally, it is rare, but it happens.
    I will let you know if I find something.

    0
  • cPRex Jurassic Moderator

    Sounds good!

    0

Please sign in to leave a comment.