Product: Tablet
Issue: Tablet registration app gets into a weird state immedietly after creating a character. Unable to add licenses, vehicles to character. Errors shown in F8 using debug mode. Duplicate characters end up getting created as well.
When: When creating a character and pressing the Save button in the registration app.
How to recreate: <See below>
Does this happen for everyone: Everyone
Attachment: <See below>
Version: 1.1.3
Framework: Registration
Has this bug appeared more than once? If so, how often?: Every time create a character
#[Tablet] Weird broken state after creating a character using the registration app
15 messages · Page 1 of 1 (latest)
Repo steps + evidence: (The client logs were captured by putting a debugprint into the Registration NUI callback function)
Step 1) Create a character and observe in logs + database that the character has been created by pressing the blue save button in the top right of the registration app ```
^6[LB Tablet 1.1.3] ^5[Debug]^7: {
"isMale": true,
"dob": "03/03/2000",
"firstname": "Test",
"job": "Test",
"lastname": "Char",
"height": 130,
"data": {
"dob": "03/03/2000",
"firstname": "Test",
"job": "Test",
"lastname": "Char",
"height": 130,
"isMale": true
},
"action": "saveCharacter"
}
^6[LB Tablet 1.1.3] ^5[Debug]^7: NUI callback ^5Registration:saveCharacter^7 took 152ms
Step 2) Add a licence of your choice. The license will fail to be added to your character, with an error in F8 ^6[LB Tablet 1.1.3] ^5[Debug]^7: { "license": "Driver's License", "action": "addLicense" } ^6[LB Tablet 1.1.3] ^5[Debug]^7: NUI callback ^5Registration:addLicense^7 took 140ms Failed to save license (@lb-tablet/ui/dist/assets/Registration-DACdWhk0.js:1) Server also reports an error ```
[LB Tablet 1.1.3] [Debug]: No character id provided
[LB Tablet 1.1.3] [Debug]: Callback registration:addLicense took 0.0893ms
Step 3) Press the Edit button in the top right of the app, followed by the save button. You will observe a duplicate character get created in the database and appear on the app.
There is also issues with adding vehicles whilst in this state. Restarting the tablet and selecting the character from a "fresh" registration app fixes all the above issues. It just seems like the state after creating a character is all fucky.
what framework is "Registration"
Is it a custom one?
In the nicest way possible, can you stop invading every single bug report I make? You don't contribute anything useful, your never helpful... You just ask silly questions that are blindingly obvious. Your not a support member and your not a developer which are the only 2 people I would expect to see in a bug report. Not a wanna-be mini mod.
Still tho, to my knowledge "Registration" isn't a framework but a tab in the tablet. But if it is a framework, my apologies.
That's just not true tho is it
As stated in the read before posting
**Framework**: <ESX / QB / Standalone>
So it either a suppored framework (Qb,qbox,Esx,) or a Standalone one.
#🔨updates message
oh mb
So can someone please get rid of this Albin kid from invading posts with false information and not contributing many thanks
This should be resolved til next update!