PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Stéphane Devouard

Pages: [1] 2
1
Programming / PxPlus 2023 Projects
« on: May 25, 2023, 06:10:43 AM »
Hi
Up until PxPlus 2022, projects metadata were stored in KEYED files *plus/proj/wkids.dat and *plus/proj/wkseq.dat
A change had been made in recent years to allow those files to be LINK files pointing to another location to be able to retrieve projects when upgrading PxPlus
I understand PxPlus 2023 changed this to a more traditional way with a folder and a dedicated settings file (like package.json for NodeJS projects and composer.json for PHP projects)
This is great. But apparently it means that I have to re-create all the projects I had set up (not so many fortunately), since I copied the two LINK files from my pxp2022/lib/_plus/proj folder to the same location in my pxp2023 installation, and no automatic migration happened, I have only the "default" project in the IDE.
Again, not a big issue, just something that would be useful -- either an automatic process first time the project maintenance is opened, or an additional option to run once in the utility that was previously used to create the LINK files
My 0.02 €

2
Programming / Syntax error in IF with string expressions
« on: March 13, 2023, 04:28:01 AM »
Hi
My boss found the issues in the attached image while doing some code

I've tried some variations with parentheses to transform variables into values but still getting the error 20

3
Language / *obj/xml issue
« on: October 11, 2022, 03:59:41 AM »
Hi

There is a minor issue in *obj/xml with the find_node() method

Code: [Select]
-}x=new("*obj/xml","<prestashop><products><product><id>1</id></product></product
s></prestashop>")
-}
-}xpath$="prestashop/products/product/id"
-}? x'find_node(xpath$)'value$
1
-}?xpath$
prestashop

I can work around by sending the parameter by value with parentheses or as an expression such as xpath$+""

But I think it should be handled in the method itself by protecting the _tag$ input parameter

TIA

4
Programming / Addressing an object
« on: September 28, 2022, 10:46:08 AM »
Hi

This code returns an error 29 on line 581


Code: [Select]
0580 IF XL[J]=0 THEN XL[J]=NEW("*obj/xml")
0581 XLIG=XL[J]'ADD_NODE("ligne")

I told the boss to change it to :

Code: [Select]
0580 if xl[j]=0 xd=new("*obj/xml"); xl[j]=xd else xd=xl[j]
0581 xlig=xd'add_node("ligne")

And it worked

Looks like this type of syntax
Code: [Select]
array[index]'some_method() While valid, is not supported by the parser or compiler

That being said, we are on a V16 with V15 license, maybe it has been fixed in a more recent version ?

Regards

5
Language / *plus/Web/request and redirections
« on: May 19, 2022, 08:58:39 AM »
I just noticed an issue with *plus/web/request

An home page I am trying to get has the following pattern :
https://our.domain.com/somescript.php?pg=somepage

I was doing a GET with the utility to the domain as it is stored in the configuration files, ie
https://our.domain.com

The request returns a 301 status with a
Location: somescript.php?pg=somepage HTTP header

So *plus/web/request follows it, but instead of trying :
https://our.domain.com/somescript.php?pg=somepage

It tries :
somescript.php?pg=somepage

Which obviously fails and returns a "Cannot contact host server" error
I have worked around the issue by requesting the whole home page URL in the first place instead of just the domain name URL

You may however want to enhance the redirection following logic in a future version

6
Wish List / IDE settings by projects
« on: May 10, 2022, 02:50:04 AM »
Hi

It would be useful if the various IDE tools settings (*IT, Nomads, etc...) were saved on a project by project basis
This way you could have the project for the old legacy apps using some color scheme and all-lower caps
And the project for the newer web apps using a different colors scheme and mixed-case (for example)

Thx

7
Webster Plus / Cannot access demo site
« on: May 02, 2022, 08:56:33 AM »
Hi
I'm trying to access the Webster+ demo site
I enter my email address on the testdrive page
I clicked on the link in the email received, and get to a page with a red box saying
Unable to detect demo site redirection cookie on your brower

Thanks for any help
Regards

8
Wish List / Updated PxBasic
« on: April 07, 2022, 02:49:18 AM »
Hi

Since the SD license is phased out this year, how about an updated PxBasic -- maybe not to V19 which is about to be released, but to V18 ?

Thanks

9
Language / [Pxpprg] / [Pvxprg] program file header
« on: January 05, 2022, 08:55:09 AM »
Hi


Best wishes for 2022 to all


I cannot remember if there is any system parameter that would prevent PxBasic V10 to overwrite the [Pvxprg] header (as created by Sage PVX v9.10) with [Pxpprg]
This way I could use PxBasic's *IT editor to do some coding in the old app I have to maintain and programs would still be readable & executable by ProvideX


TIA

10
Nomads / Key names size limit
« on: September 16, 2021, 08:35:26 AM »
Hello


I haven't found any mention of a limitation in size for a key name


Yet, the key definition dialog in the DD maintenance tool imposes a 24-char size limit to the key name entered.


Having got some training in SQL, I know that in most DB systems, primary key constraints & index names must be unique throughout a database, so I now name primary keys as 'PK_<table name>', alternate indexes as 'IX_<table name>_<sorting>' -- not to mention table names often start with a 2-4 prefix representing the sub-application module ;-)


So... Is the 24 char limit by design or are keynames allowed to be larger ?


Regards,

11
Nomads / Query auto-tab
« on: August 18, 2021, 05:11:28 AM »
Hi


Unless I missed something or the current documentation is not complete :
There is no %NOMADS property that would enforce the auto-tab value in the query headers throughout the system ?


Is that something that could be considered for a future update ?


TIA

12
Nomads / FM generator issues
« on: August 01, 2021, 11:42:40 AM »
Here are a couple of issues I found while using the FM generation wizard :

1) Inserting a dot in the FM panel name
If I name the panel with a dot (e.g. company.fm), I cannot re-open the FM wizard after the first generation of the panel. From the Nomads selector I get a message telling me to delete and regenerate the panel. From *it, I can open the library then edit the generated panel.
If I name the panel with an underscore (e.g. company_fm) then everything works as expected.
Looking at the Nomads code, this is due to the way the folder tabs are generated.
So I would simply suggest to add a check on the presence of a dot (.) in the name when creating a new FM object

2) Defining a primary key segment with a format specifier

If one of the primary key segments in the data dictionary is defined as "Last Substring" (for example), then I cannot complete the FM wizard
I am getting a message saying that some of the required fields are missing on the screen layout.
This is because the :[...] format specifier adds an extra comma to the IOLIST and screws up the test @ 1446 in fm_wizard

Regards

13
Thin Client/WindX / File links (.pxplus and .windx)
« on: December 12, 2020, 02:51:39 AM »
Hey, it's me again...

Testing the .pxplus and .windx links extension

I have installed the WindX Plugin 2019 (pxp1620-0000-WPI.exe) on a Win10 VM to its default directory "C:\PVX Plus Technologies\Windx Plugin 2019 Upd 2"
I checked the .windx extension settings, which were pointing to the above directory

I then installed the WindX Plugin 2020 32-bits (pxp1710-0000-WPI.exe) to its default directory "C:\PVX Plus Technologies\Windx Plugin 2020 Upd 1"
In the registry, the .windx extension settings are still pointing to the WindX 2019 directory

Did I miss something or is there an issue with the installer ?

TIA

14
Programming / SVN hooks issue after PxPlus update
« on: December 09, 2020, 01:13:48 PM »
Hi

When I set up SVN, I had PxPlus 17.00 installed on my laptop

This afternoon, I overwrote my 17.00 copy with the 17.10 zip
From that point, the SVN update started to fail when opening a program in *IT, telling me there was an issue in the post-update hook.

I checked the two batch scripts and the path to PxPlus was C:\pvxsrc instead of my installation directory.

I’d suggest these batch scripts to be removed from the installation packages — or at least from the ZIP file

Thanks in advance

15
Wish List / WindX Plug-in silent install
« on: December 09, 2020, 12:50:56 PM »
Please allow the WindX Plug-in installer program to retrieve a custom installation directory from the command-line when run silently

See the following thread for more details : https://forum1.pvxplus.com/index.php?topic=98.0

Thanks

Pages: [1] 2