apache / apache/grails-core

include tag param values change from boolean to string

Open
#14,203 0 comments 0 reactions 0 assignees View on GitHub
relates-to: grails-gsp
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

When using the include tag, and passing the actual request params as params, if the original params have a boolean value binded, the value is string in the action referenced by the include tag.

Will create a small app showing the issue. Can't share the project I'm working on.

### Task List

- [ ] Steps to reproduce provided
- [ ] Example that reproduces the problem uploaded to Github
- [ ] Full description of the issue provided (see below)

### Steps to Reproduce

1. TODO
2. TODO
3. TODO

### Expected Behaviour

The value should be boolean in the included view.

### Actual Behaviour

The value is string in the included view.

### Environment Information

- **Operating System**: Linux Mint
- **Grails Version:** 5.3.3
- **JDK Version:** 11.0.20.1

### Example Application

- TODO: link to github repository with example that reproduces the issue

Contributor guide

Open the contributing guide

Research direction

The issue names Grails 5.3.3 and the include tag but provides no file, test, or reproduction steps. First create the promised small application using the stated environment and document the boolean parameter flow; done means reproducing the type conversion and identifying a verified regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.