default option for MoveElementOperation (and others)
Posted: Wed Aug 09, 2017 7:02 pm
Dear developers,
I have a little issue here which I experienced in the Author action "MoveElementOperation". I defined insertPosition, sourceLocation and targetLocation, and the action worked fine. Then, returning to the dialog again to make some other changes, I (by mistake) clicked on deleteLocation, but did not enter anything. After saving all changes, the action now returned an "unexpected <eof>" error. I checked the action definition in my project file and I saw this:
So the action just tried to parse that empty string there. I then deleted the entry from the project file, reloaded and everything was back to normal. Another way which I also tested was to repeat the sourceLocation, this also works fine but it would mean redundancy. Is this a bug? If not, it would be convenient if there was a "reset to default" button in the dialog.
Many thanks for your brilliant work!!
I have a little issue here which I experienced in the Author action "MoveElementOperation". I defined insertPosition, sourceLocation and targetLocation, and the action worked fine. Then, returning to the dialog again to make some other changes, I (by mistake) clicked on deleteLocation, but did not enter anything. After saving all changes, the action now returned an "unexpected <eof>" error. I checked the action definition in my project file and I saw this:
Code: Select all
<field name="argValues">
<serializableOrderedMap>
<entry>
<String>deleteLocation</String>
<String></String>
</entry>
Many thanks for your brilliant work!!