Development

#621 ([PATCH] Cannot unset Stylesheets with -stylesheet in view.yml if the stylesheet has parameters)

You must first sign up to be able to contribute.

Ticket #621 (closed defect: fixed)

Opened 2 years ago

Last modified 2 months ago

[PATCH] Cannot unset Stylesheets with -stylesheet in view.yml if the stylesheet has parameters

Reported by: slickrick Assigned to: slickrick
Priority: major Milestone: 0.6.3
Component: askeet Version: 0.7.X
Keywords: Cc:
Qualification: Unreviewed

Description

For instance, if I have this in my main app view.yml:

main: { media: screen, title: default }

This will not work in my module specific view.yml

testSuccess:
  stylesheets: [-main]

I believe this is because array_diff() is one-dimensional and the script in sfViewConfigHandler.class.php (~ line 257) is using it to remove the elements from the stylesheet array.

Change History

06/14/06 04:35:23 changed by slickrick

  • owner set to slickrick.

fixed in r1445

Note: Also added the ability to remove all stylesheets at once via -*

06/14/06 21:56:09 changed by slickrick

Update Note: as of r1446 you can also remove all javascripts via -*.

06/16/06 04:16:34 changed by slickrick

  • summary changed from Cannot unset Stylesheets with -stylesheet in view.yml if the stylesheet has parameters to [PATCH] Cannot unset Stylesheets with -stylesheet in view.yml if the stylesheet has parameters.

06/16/06 09:46:47 changed by fabien

  • milestone changed from 0.6.3 to 1.0.0.

06/16/06 10:30:59 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.
  • milestone changed from 0.6.4 to 0.6.3.

in r1451