Page 1 of 1

Transformation running notice

Posted: Fri May 07, 2021 6:33 am
by bw251
I've just upgraded from Oxygen Developer 15 to 23. I find that when I'm running a transformation (xquery to a database), I no longer have the message at the bottom of the application that tells me a transformation is running. Instead, there's just the "Validation successful" message. Once the transformation is finished, it does give the "Transformation successful" message and timing. Was the "running" message removed? Is there a way I can get it back? (could it, in future, give "time elapsed" in real time?)

Thanks!
Ben

Re: Transformation running notice

Posted: Fri May 07, 2021 10:49 am
by Radu
Hi Ben,

Are you working with Oxygen 23.0 or 23.1? I'm using 23.1 in my tests.
You mentioned a ""Validation successful" message, you mean Transformation successful", right?
So I open an XQuery document and then I run an XQuery transformation scenario over an XML document, I get in the status bar a "Transformation in progress" message followed by a "Transformation successful" message.
On your side is the "Transformation in progress" message missing from the status bar while the transformation is in progress? If so I will need to find out more details about how you configure the transformation, on what database you are running it (probably Exist right?), so that I can try something similar on my side.

Regards,
Radu

Re: Transformation running notice

Posted: Mon May 31, 2021 11:36 pm
by bw251
Hi Radu,

I'm using v23.1, running XQuery transformations against Marklogic.

I meant "Validation successful". It looks like I have a bad habit of making changes to the code while the transformation is running (with auto-validation on), and the validation status is using the same space as the transformation status. Both transformation messages display as expected until/unless I make changes to the code.

I'm not sure how this used to be different. Maybe the xquery syntax checker didn't update that status before? I suppose the feature request would be to have those two status "fields" be distinct, so I can see both that the code is valid, and that something is running at the same time.

Thanks
Ben

Re: Transformation running notice

Posted: Tue Jun 01, 2021 12:15 am
by bw251
Ah, the other way this happens is if I hit the "apply transformation" shortcut in between my last keystroke and the the time delay on the auto-validation. i.e. the transformation isn't running before I edit, but it's running before the validation of my last edit finishes.

Re: Transformation running notice

Posted: Wed Jun 02, 2021 6:29 am
by Radu
Hi,

Thanks for the extra details, now I understand. Sometime in Oxygen 21 we decided that we want the automatic validation to also update the status bar, before that automatic validation did not update it. So what happened was that some people would use manual validation (the validate toolbar button), they would get an error reported in the status, fix the error with automatic validation and the status bar reported still an error.
So it made sense to update the status bar when automatic validation was done (and automatic validation is done a little bit after you type) but indeed this interferes with other functionality in Oxygen which uses the status bar.
This has happened to me in the past as well, I'm not sure how best to handle this on our side but I added an internal issue for it.

Regards,
Radu