Canalplan Bug Tracker



Anonymous Login
2019-04-21 09:15 BST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000223Canalplan [All Projects] Server Configurationpublic2017-04-15 13:40
Reporteruser3 
Assigned Touser3 
PrioritylowSeverityminorReproducibilityhave not tried
StatusassignedResolutionopen 
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0000223: Upgrade Bugtracker to Version 2
DescriptionVersion 2.0 of Mantis is out - need to upgrade to it.

This is a ticket for me to just track work.

DB Schema is the same so upgrading on BETA will not affect live work.
TagsNo tags attached.
Attach Tags (Separate by ",")
Attached Files

-Relationships
related to 0000225closed Canalplan Bug Tracker Error 
+Relationships

-Upload File
Select File
Maximum size: 5,000 KB
+Upload File

-Notes

~0000842

user3

Two core bits of functionality which we use to wrap Mantis BT into Canalplan have been removed from Mantis BT version 2.0. This means that we can't put the left hand menu onto the Mantis pages.

~0000843

Nick Atty (administrator)

That's a shame. Is there a reason for it?

~0000878

Nick Atty (administrator)

Could we just use an iframe? A static or dynamic CanalPlan page with an iframe to contain Mantis. It would all be from the same site so none of the same origin stuff should cause problems?

It also means that future updates are easier as there's no special configuration.

We'd lose the styling (although we could write some easy JavaScript to change - again, SOP should allow that).
http://stackoverflow.com/questions/583753/using-css-to-affect-div-style-inside-iframe

Do you want to mock it up, and I'll change the generation code once we know what it should look like?

~0000879

user3

We can do CSS as it supports that, I think all we'll need is a full empty page with a iframe in it where we have the main content DIV.

I'll try it in Beta this weekend...

It would also fix http://canalplan.org.uk/bugtrack/view.php?id=225

~0000880

user3

Suspect we can't do it as the urls call lots of different files so I'd have to create a whole set of aliases to turn calls to those pages into calls to my wrapper page which pass the original page name and parameters.

~0000881

Nick Atty (administrator)

Last edited: 2017-01-26 19:00

View 2 revisions

I suspect it could be done with one clever regexp in the aliases.

Or if too troublesome, if we can style it we may have to just do that and lose the menu. We could make sure all links to bugs open in a new window to reduce the damage.

But don't links inside an iframe open inside the frame anyway?

~0000882

user3

Without the framing this is what the new version looks like:

http://beta.canalplan.org.uk/newmantis/index.php

~0000891

user3

Links in an iframe open in the parent window unless you give the iframe a name and add that as a target to all the links.

There seems to be no movement from Mantis on putting this functionality back in although people have pointed out that it stops you doing exactly what we've done and it something that businesses use.

So maybe opening in a new window is the best option. I've changed the logout button to "Return to Canalplan" and stopped it actually logging out (which trashes the cookie).

~0000892

user3

And the auto close plugin doesn't work - so I've got to fix that too as the developer isn't supporting it any more.

~0000920

user3

Auto close plugin is just about working ... needs some reworking to fit in with the new style.

The problem with the header and footer includes seems to be slated for the 2.2 release (They've already released 2.1)

~0001085

user3

Has been pushed back as they've still not fixed the site integration issue
+Notes

-Add Note
Note
View Status
Upload File
Maximum size: 5,000 KB
+Add Note

-Issue History
Date Modified Username Field Change
2017-01-05 09:38 user3 New Issue
2017-01-05 09:39 user3 Assigned To => user3
2017-01-05 09:39 user3 Status new => assigned
2017-01-05 18:42 user3 Note Added: 0000842
2017-01-05 19:36 Nick Atty Note Added: 0000843
2017-01-26 07:22 Nick Atty Note Added: 0000878
2017-01-26 08:44 user3 Note Added: 0000879
2017-01-26 18:23 user3 Note Added: 0000880
2017-01-26 18:39 Nick Atty Note Added: 0000881
2017-01-26 19:00 Nick Atty Note Edited: 0000881 View Revisions
2017-01-26 19:11 user3 Note Added: 0000882
2017-01-27 07:10 Nick Atty Relationship added related to 0000225
2017-01-27 10:14 user3 Note Added: 0000891
2017-01-27 10:15 user3 Note Added: 0000892
2017-02-03 13:01 user3 Note Added: 0000920
2017-04-15 13:40 user3 Note Added: 0001085
+Issue History