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

hotfix@customers/webspaces[statuses] #160

Merged

Conversation

ayvazyan10
Copy link
Contributor

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

…ctive) | 16 (disabled_by admin) -- when status 1 is provided plesk db is crashing somehow and customer stacking in disabled mode.
@sibprogrammer sibprogrammer self-requested a review May 20, 2024 16:46
@sibprogrammer
Copy link
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.

@ayvazyan10
Copy link
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.

@sibprogrammer sibprogrammer merged commit 437d50f into plesk:master May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants