[E] Error with "Hide Introduction Conversation" Advanced Mode

Post about any bugs or other issues that you find on AAO.

Moderator: EN - Forum Moderators

Post Reply
User avatar
TimeAxis
Posts: 402
Joined: Fri Jan 01, 2021 8:27 pm
Spoken languages: English
Contact:

[E] Error with "Hide Introduction Conversation" Advanced Mode

Post by TimeAxis »

User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Link: https://aaonline.fr/player.php?trial_id=147182
What happened?: When creating a frame with the actions "Hide Introduction Conversation" or "Reveal Introduction Conversation", if you check the "Advanced Mode" box, then check the "Load from Runtime Expression" box, then hit confirm, then open up the action again and uncheck the "Advanced Mode" box, the actions window will go blank, and the following error will return in the console:

Code: Select all

Uncaught TypeError: array is undefined
objects_model.js:118:15
Image
What did you expect to happen?: Unchecking "Advanced Mode" would simply display the fields without the "Load from runtime expression" checkbox being visible. If you input text into the fields beforehand, that is what will happen.
Can you reproduce the problem?: Yes, following the steps above will reproduce it every time, as long as you don't change the fields from their values before you checked the Advanced Mode checkbox.
What did you do before the problem showed up?: Nothing, can be done on a new trial. The example trial linked above will produce the bug simply by unchecking the Advanced Mode checkbox on either of the first two frames. One of them was done before there were any Investigation Scenes/Introduction Conversations, and one of them was done after making one, so this doesn't make a difference.
Image
Question Arcs (Threads Coming Eventually)
ImageImageImageImage
Gaiden Episodes
Champion of Turnabouts ★
HALLOWEEN HERO
Other
Phoenix Wright: Ace Attornauts
The Curious Case of the Phantom Limousine (Coming Eventually)
The Imposter's Turnabout (Coming Maybe)
User avatar
Enthalpy
Community Manager
Posts: 5178
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Error with "Hide Introduction Conversation" Advanced Mode

Post by Enthalpy »

Thanks for the report.

The behavior that I think is most appropriate here is for the "Advanced mode (use with caution!)" checkbox to be grayed out and unclickable if there are any expressions in the action parameters. Is that acceptable?
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
TimeAxis
Posts: 402
Joined: Fri Jan 01, 2021 8:27 pm
Spoken languages: English
Contact:

Re: [E] Error with "Hide Introduction Conversation" Advanced Mode

Post by TimeAxis »

That would probably be fine but it happens even if the fields are blank.
Image
Question Arcs (Threads Coming Eventually)
ImageImageImageImage
Gaiden Episodes
Champion of Turnabouts ★
HALLOWEEN HERO
Other
Phoenix Wright: Ace Attornauts
The Curious Case of the Phantom Limousine (Coming Eventually)
The Imposter's Turnabout (Coming Maybe)
User avatar
Enthalpy
Community Manager
Posts: 5178
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Error with "Hide Introduction Conversation" Advanced Mode

Post by Enthalpy »

I've poked at this some more, and I'm continuing to see odd behavior. Fields that should be interactive aren't depending on very finicky details of what fields are populated and what boxes are checked and there's strange history dependence.

I need to understand this part of the code from the ground up, and expect quite a few changes to eliminate inconsistencies. The expected behavior is itself inconsistent and a result of history dependence and will need to change.
[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
User avatar
Enthalpy
Community Manager
Posts: 5178
Joined: Wed Jan 04, 2012 4:40 am
Gender: Male
Spoken languages: English, limited Spanish

Re: [E] Error with "Hide Introduction Conversation" Advanced Mode

Post by Enthalpy »

[D]isordered speech is not so much injury to the lips that give it forth, as to the disproportion and incoherence of things in themselves, so negligently expressed. ~ Ben Jonson
Post Reply