Ticket #459 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Empty urlBase property breaks HtmlHelperProperty methods

Reported by: doug.smith@… Owned by: peterfarrell
Priority: critical Milestone: Mach-II 1.8.0 RC2
Component: framework - properties Version: 1.8.0 - Framework
Keywords: urlBase, HtmlHelperProperty Cc:
Blocking: Blocked By:

Description

We updated to 1.8.0.1978 (from 1577 -- I know, been a while, but we've been busy) and found that addJavascript() and addStylesheet() methods no longer correctly created the path to the .js and .css files. We found that when urlBase is empty (as with full SES URL usage), a new condition in HtmlHelperProperty?.buildAssetPath() broke it. I've patched my version with the attached patch file, but I'm open to other solutions if this breaks something else for you.

Attachments

mach_ii_build_1978_html_helper_property_fix.patch Download (0.8 KB) - added by doug.smith@… 3 months ago.
Patch to fix this issue.

Change History

Changed 3 months ago by doug.smith@…

Patch to fix this issue.

Changed 3 months ago by peterfarrell

  • status changed from new to closed
  • resolution set to fixed

(In [1988]) closes #459

Add/Change #459 (Empty urlBase property breaks HtmlHelperProperty methods)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.