Page 1 of 1

Metabox scenario configuration won't save

Posted: Tue Feb 19, 2019 10:01 am
by ana.ldpcosta
Hi! I'm trying to develop some metaboxes to clean up my main scenario, but keep running into a problem.
When I try to to configure the metabox scenario settings, it won't save the configuration type. For example, I want the user to be able to select a stimulation to epoch from when configuring the box, but when designing the metabox every time I close the Configure Settings screen the setting type reverts back to an integer.

Was wondering if this is a bug or if I'm doing something wrong. Thanks in advance!

Re: Metabox scenario configuration won't save

Posted: Mon Feb 25, 2019 2:50 pm
by Thibaut
Hello,
This is a bug that will be fixed in the next version normally.
In the meantime, it's ugly but, you can replace by hand the type in the xml file of your metabox.
in your xml you have for example :

Code: Select all

<Settings>
	<Setting>
		<Identifier>(0x00425137, 0xf2a30c29)</Identifier>
		<TypeIdentifier>(0x79a9edeb, 0x245d83fc)</TypeIdentifier>
		<Name>STRING SETTING</Name>
		<DefaultValue>MY DEFAULT VALUE</DefaultValue>
		<Value>MY VALUE</Value>
	</Setting>
</Settings>
For TypeIdentifier you have :

Code: Select all

Boolean     (0x2CDB2F0B, 0x12F231EA)
Integer     (0x007DEEF9, 0x2F3E95C6)
Float       (0x512A166F, 0x5C3EF83F)
String      (0x79A9EDEB, 0x245D83FC)
Filename    (0x330306DD, 0x74A95F98)
Foldername  (0x43A26C8E, 0x0A8172B6)
Script      (0xB0D0DB45, 0x49CBC34A)
Stimulation (0x2C132D6E, 0x44AB0D97)
LogLevel    (0xA88B3667, 0x0871638C)
Thibaut