Skip to content
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

v0.16 regression: numeric variables are set to null instead of being converted to text #138

Closed
lovasoa opened this issue Nov 22, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lovasoa
Copy link
Collaborator

lovasoa commented Nov 22, 2023

reported by @DSMejantel .

The code below worked in v0.15 and is broken by 0.16 :

set x = 2;
select 'text' as component, $x as contents;
@lovasoa lovasoa added the bug Something isn't working label Nov 22, 2023
@DSMejantel
Copy link

DSMejantel commented Nov 22, 2023

Capture_v015
Capture_v016

Cela peut être lié à :

select 
    CASE WHEN $NB_eleve > 1 
    THEN $NB_eleve ||' élèves' 
    ELSE $NB_eleve ||' élève' 
    END as title,
           'cyan' as color,
           TRUE as space_after
           where $tab='Tableau de bord'; 
--Carte   
SET AVG_Lat = (SELECT AVG(Lat) FROM etab);
SET AVG_Lon = (SELECT AVG(Lon) FROM etab);

SELECT 
    'map' as component,
    12 as zoom,
    400 as height,
    $AVG_Lat as latitude,
    $AVG_Lon as longitude
    where $tab='Carte';

@lovasoa
Copy link
Collaborator Author

lovasoa commented Nov 22, 2023

v0.16.1 should fix the problem

lovasoa added a commit that referenced this issue Nov 25, 2023
lovasoa added a commit that referenced this issue Nov 25, 2023
* better docs for multi-select

* wip

* fix bug in corporate conundrum demo

* update dependencies

* Fix bug with variable assignment

fixes #138

* Files (#139)

* document future file functions

* make forms multipart when they contain a file field

* extract http request data reading logic

* start work on file upload

* multipart post data parsing

* millisecond precision in logs

* implement customizable upload file size limits

* wip: add file handling functions

* file handling pseudo-functions

* clippy

* fmt

* Add file upload functionality to changelog

* fix example

* update datetime parsing

* add support for samesite cookies and document cookie expiration

* add support for https

* clippy

* ignore certs

* revert changes to default config

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants