-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context menu Swiper\Filter Issue #20
Comments
@camac , The following issues were exerperienced while creating a baseline version of existing applications for push to a GIT repositiory before subsequent work. I have attempted to understand why and try and work around the problems but without forking your code I haven't been able to take this any further. Maybe if and when you have time you could look to resolve the first issue as it is preventing me from using Swiper for any database with a button on a form. I have included a before and after file attachments and attached this as a comment to the above issue as it is all related to the actions of the Swiper\Filter Selected. I am using 9.0.1 FP8 SHF216 with the current version of Swiper.
140 transformer.setOutputProperty(OutputKeys.INDENT, "yes");
Description Resource Path Location Type However, if I make a small change to the design element, save and open and close the application in designer the error disappears. I have not been able to trace this further. I thought I had noticed the issue to be related to a combination of the version, designerversion and maintenanceversion properties being swiped from the Page tag but I could not get consistent results. It appears to be directly related to the use of "Swiper\Filter Selected" rather than what's in the XSL file.
|
Thanks for the detailed Issue report. I'm sorry to hear the Swiper isn't quite working for you yet but hopefully I can help find a solution. In regards to the Indent=No being overridden, I have some ideas of what I might be able to do. In regards to the Computed Page background I will do a test myself and see if I can replicate the error and come up with a solution In regards to 3. 'Filter Selected' should run on whichever elements are selected in the Left application navigator. So I am not sure what is going on if it is filtering more that you expect. I have had a pretty busy couple of weeks so probably have a little break from computers this weekend but I will try to have a look at it one night next week. I might post a 'beta' release for you to test out as well. |
@camac thanks for the quick reply. I know what you mean by needing a weekend off the tools, so to speak. I don't profess to be an XSLT expert but would it not be possible to move the indent-amount configured from the within the code to the xslt file? Like ...
If this worked then using a custom xslt filter could override the default. IMHO a good feature to add would be a "add swiper custom" action to a database with the configured custom xslt perhaps when the custom xsl file was configured. Of course this could be challenging as a "remove swiper custom" may also be necessary so you could realise which xsl type (custom/default) was used. I certainly see the benefit of indenting for easier merge comparisons for some databases. Regards issue 3. The only reason I noticed this was during investigation of the above issue I had a number of ODP files open in notepad++. Having selected only one element for the right click "Filter Selected" (pretty sure I only selected one element), switching to notepad++ multiple alert dialogs saying files have been updated prompting to reload (which is standard for notepad++). Again thanks in advance for anything you can manage to fit in. I am certainly encouraged by your build server solution and I hope to implement something similar given that the site I'm currently working uses Microsoft TFS which brings its own challenges. |
I'm still seeing this error also
is becoming this after swiper has runned
|
@camac, I have confirmed the problem raised above can be resolved by removing the |
It would seem that using the context menu option Swiper\Filter selected does not obey a configured Custom XSLT Filter. This is observed as there is different "Swipe" behaviour depending upon whether you save a design element or use the context menu option.
Unfortunately turning on logging does not show which xsl file is being used.
The text was updated successfully, but these errors were encountered: