To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #6 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Create rebasing task for media slots

Reported by: boutell Owned by: boutell
Priority: major Milestone: 1.0
Component: apostrophePlugin: Media Version: Symfony 1.4
Keywords: tasks Cc: agilbert
Symfony version:

Description

Right now, when you move a site from a dev box where frontend_dev.php is in use to a production site where there is no frontend controller in the URL, media slots are left with URLs that still contain a frontend controller that won't work (although the hostname is gracefully removed when the media site and the main site are the same).

However the slot also has the media item IDs, so it's possible to create a rebasing task that gracefully rewrites these by querying the media plugin for information about the items again.

Implement that so folks who don't follow our in-house "index.php all the time, with a different env argument depending on the box" policy can still conveniently deploy sites built with the media plugin.

This will also be handy for cleaning up URLs if we forget to turn on no_script_name for a site, etc.

Change History

Changed 3 years ago by boutell

  • status changed from new to accepted

Changed 3 years ago by boutell

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

The new pkContextCMS:refresh task takes care of this issue among others.

Changed 3 years ago by agilbert

  • milestone set to 1.0

Testing the batch modify plugin. Moving old, closed tickets to the 1.0 milestone so the roadmap is accurate.

Note: See TracTickets for help on using tickets.