hotfix@customers/webspaces[statuses]#160
Merged
sibprogrammer merged 1 commit intoplesk:masterfrom May 24, 2024
Merged
Conversation
…ctive) | 16 (disabled_by admin) -- when status 1 is provided plesk db is crashing somehow and customer stacking in disabled mode.
Member
|
I can't confirm disabling the customer with status 1 leads to "crashing." Please provide more detailed STRs. P.S. Despite the fact status 1 is undocumented, it's still valid, and everything should work as expected. |
Contributor
Author
|
i provided full details explanation, also give links on api docs, i checked in on my server and not going to check again because it very hard to recover stacked status plesk db, you can reject pull request. The status node is optional. It specifies the current status of the customer account. Data type: objectStatus (plesk_common.xsd). Allowed values: 0 (active) | 16 (disabled_by admin) | 4 (under backup/restore) | 256 (expired). Default value: 0. Only status values 0 and 16 can be set up. from official documentation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For customers allowed status can be only 0 or 16. Also webspaces(subscribtions) allowed values: 0 (active) | 16 (disabled_by admin) (there is no status "1")-- when status 1 is provided on customer plesk db is crashing somehow and customer stacked in disabled mode.
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-customer-accounts/customer-settings/general-customer-account-settings/type-clientsetgeninfo.34625/
https://docs.plesk.com/en-US/obsidian/api-rpc/about-xml-api/reference/managing-subscriptions/subscription-settings/general-subscription-information/node-gen_setup-type-setgensetuptype.33860