Modify

Opened 5 years ago

Closed 5 years ago

#5702 closed enhancement (fixed)

Missing open_environment parameter (Trac 0.10.x compatibility)

Reported by: anonymous Owned by: airadier
Priority: normal Component: SearchAllPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Using trac 0.10.4 I had to remove the use_cache parameter used with the open_environment function. I think my version doesn't have this functionality.

Forgive me if your plugin is not meant to be used with Trac 0.10. I thought it would be because it has the 0.10 tag assigned.

Thanks,
Mauro.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by airadier

  • Status changed from new to assigned

It was for 0.10, then it became 0.11. I forgot to remove the tag, but I guess removing that parameter is the only change needed to make it work in 0.10, is that right?

Thanks.

comment:2 Changed 5 years ago by anonymous

Yes, that's the only thing I've changed. A quick & dirty solution would be to catch the exception as you're doing and if it fails, try without the parameter.

Regards,
Mauro.

comment:3 Changed 5 years ago by airadier

  • Summary changed from Missing open_environment parameter to Missing open_environment parameter (Trac 0.10.x compatibility)
  • Type changed from defect to enhancement

comment:4 Changed 5 years ago by airadier

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7513]) Trac 0.10 compatibility fix. Fixes #5702

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.