#2231 - Composr 10b2: custom page modules do not render properly
| Identifier | #2231 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Composr 10b2: custom page modules do not render properly |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | core |
| Description | When making a custom modification of any modules found in site/pages/modules (perhaps other untested areas as well) and then saving to the site/pages/modules_custom folder, Composr does not properly render the module.
...in the case of warnings.php , it will render the form as HTML inside a string... so essentially instead of a form, you see bare HTML code. |
| Steps to reproduce | 1. Modify site/pages/modules/warnings.php and save into site/pages/modules_custom/warnings.php (you can even just save an exact copy there).
2. Attempt to load warn/punish user screen.
3. You get bare HTML instead of a form. |
| Additional information | I have confirmed it is indeed an issue with rendering custom modules and not an issue with my code.
Case 1: Original warnings.php with no modifications - form works. Case 2: Original warnings.php exists, custom warnings.php also exists - form does NOT work. Case 3: Original warnings.php deleted, custom warnings.php exists in the custom folder - form does NOT work. Case 4: Original warnings.php exists, exact copy made as custom warnings.php - form does NOT work. Case 5: Customized warnings.php exists in the original modules folder; no warnings.php in custom folder - form works! |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".
Comments
I've now made it track the output of anything that gets internally evaluated, and know never to auto-escape that.