excel-export icon indicating copy to clipboard operation
excel-export copied to clipboard

Issue when running grails test-app (2.3.11)

Open imadi opened this issue 8 years ago • 9 comments

Hi I have this piece of code in SampleController.groovy which downloads sample excel def xls = new WebXlsxExporter(filePath).with { response.setHeader "Content-disposition", "attachment; filename=samole.xlsx" response.contentType = 'application/vnd.ms-excel' LOG.info("sample Excel") save(response.outputStream) } Its working normally. But when I do grails test-app I am getting error like No signature of method: SampleController.save() is applicable for argument types: (org.springframework.mock.web.MockHttpServletResponse$ResponseServletOutputStream) values: [org.springframework.mock.web.MockHttpServletResponse$ResponseServletOutputStream@12b7c618]

I am using excel-export:0.2.1

imadi avatar Oct 06 '16 12:10 imadi

I'm afraid this project is not actively maintained anymore. Wanna take it over?

jakubnabrdalik avatar Oct 13 '16 14:10 jakubnabrdalik

@jakubnabrdalik I'll take it over if no one else has already expressed interest.

dpcasady avatar Nov 16 '16 18:11 dpcasady

@dpcasady I've given you write rights to the repo. Let's see how you do :) Good luck and thanks for taking care of this repo.

zdanek avatar Nov 17 '16 10:11 zdanek

I think that access to https://bintray.com/jakubnabrdalik/plugins/jakubnabrdalik.plugins%3Aexcel-export/2.0.1 is also needed... @jakubnabrdalik ?

pjagielski avatar Nov 17 '16 10:11 pjagielski

@pjagielski it is. I have created a separate org in bintray for it (grails-excel-export) so that I can transfer ownership to this organization. I have invited @dpcasady to that organization. Who should I invite from TouK (you need to have an account on bintray)?

jakubnabrdalik avatar Nov 17 '16 12:11 jakubnabrdalik

Thanks!

dpcasady avatar Nov 17 '16 16:11 dpcasady

@imadi sorry to hijack your issue, I'll look into it later today.

dpcasady avatar Nov 17 '16 16:11 dpcasady

@jakubnabrdalik my account https://bintray.com/pjagielski

pjagielski avatar Nov 17 '16 18:11 pjagielski

@pjagielski done

jakubnabrdalik avatar Nov 18 '16 10:11 jakubnabrdalik