🇨🇴Colombia @Ozle

Bogotá
Account created on 14 August 2023, 11 months ago
#

Recent comments

🇨🇴Colombia Ozle Bogotá

I was able to fix this issue by adding the public path in the uploadZipConfigFiles function.

🇨🇴Colombia Ozle Bogotá

Ozle changed the visibility of the branch 3283247-error-uploading-config to hidden.

🇨🇴Colombia Ozle Bogotá

I fixed this issue modifying only the $states variable to

const $states = once('states', '[data-drupal-states]', context);

🇨🇴Colombia Ozle Bogotá

Hi @paul_leclerc,

This is a data type issue, you can solve it adding the filter number_format in every variable.

{% set charges = data.charges|number_format + (data.demi_charges|number_format / 2) %}

i updated the yml applying this filter and its working.

🇨🇴Colombia Ozle Bogotá

Hi @thecooltechguy,

I was able to replicate this problem and found that if you enable Ajax on your web form it works correctly:

without Ajax:

Using Ajax:

🇨🇴Colombia Ozle Bogotá

I tested this on

Chrome 116.0.5845.96 (Official Build) (arm64)
Firefox 115.0.2
Safari 16.2 (18614.3.7.1.5)

but couldn't replicate it.

🇨🇴Colombia Ozle Bogotá

Hey @maxime-adagp,

Seems more like a problem with drupal.state library, in some cases the values ​​of empty states appear as null and not booleans, so I created a patch from webform v6.1.x to make sure that the expected value is returned.

🇨🇴Colombia Ozle Bogotá

Hi tybroadway, i was trying to replicate this problem using versions 6.1x and 6.2.x but couldn't do it, I wonder if you missed any steps.

This was an example following your steps and its working:

https://www.drupal.org/files/issues/2023-08-20/Screenshot%202023-08-20%2...

🇨🇴Colombia Ozle Bogotá

Hi, I noticed that it was saving the correct values ​​to the database but it wasn't rendering correctly in the web form results, so I modified the validation to get the current user values ​​only with logged user submissions.

🇨🇴Colombia Ozle Bogotá

Hi, I hope this is useful to you,

I reproduced the issue and tried with your patch and it works, I added a different approach to pass the unit tests.

Production build 0.69.0 2024