ironmansoftware / issues

Public Issue tracker for Ironman Software products.
https://ironmansoftware.com
31 stars 2 forks source link

Page Variable "/edit-user/:samacountname" dot work after upgrade #3434

Closed urskog84 closed 2 days ago

urskog84 commented 2 days ago

Version

4.3.1

Severity

Low

Environment

msi

Steps to Reproduce

Can not get the variable $samacountname to work after upgrade from 4.2.4 to 4.3.1

i have created a simple att to list and edit ursers:

# ./Consult.ps1
New-UDApp -Title "Conslut Portal" -Pages @(
    Get-UDPage -Name "consulte"
    Get-UDPage -Name "edit-user"
)
)
#./pages/edit-user.ps1
New-UDPage -Url "/edit-user/:samacountname" -Name "edit-user" -Content {

    $userObj = Get-ADUser $samacountname
    New-UDCard -Title  "

$samacountname" -Content { New-UDElement -Tag text -Content { $userObj } }
} -Title "edit-user" 
)

when i den go to url https://w-pwunivers-p-1.int.stadium.biz/app/consult/edit-user/user301710 it looks like the variable $samacountname is null i expected it to bee user301710 error

Expected behavior

when i den go to url https://w-pwunivers-p-1.int.stadium.biz/app/consult/edit-user/user301710
it looks like the variable **$samacountname is null** 
i expected it to bee **user301710**

Actual behavior

i expected it to bee **user301710**

Additional Environment data

No response

Screenshots/Animations

No response

Omzig commented 2 days ago

@adamdriscoll, this killed 90% of our apps! As soon as this is closed, can we release 4.3.2? 4.3.1 probly should be removed ;)

Suggestion

Maybe we can add something to the documentation /apps/docs/Page so that we can add a playwright test?

Workaround

We downgraded to 4.3.0 and not it is working again.

adamdriscoll commented 2 days ago

We'll get this released today. As for the playwright test, we'll get this added as well but likely after the release.

urskog84 commented 2 days ago

Hi, Have now upgraded to version 4.3.2. it works. big thanks for the quick response.

Regarding the Dnowngrade option. how is it possible downgrade the MSI installation.. if i run an lower relase. i get an error..

Omzig commented 1 day ago

Hi, Have now upgraded to version 4.3.2. it works. big thanks for the quick response.

Regarding the Dnowngrade option. how is it possible downgrade the MSI installation.. if i run an lower release. i get an error..

idk about the msi, we use IIS so we just have a script that you put the version in and boom, its upgraded or downgraded.