1.5.6 Can't delete items and invoices and can't create new invoices


#1

Hi,

i have update IP.

I had created an invoice before the update.
And there, on this bill I created a line, I registered and I can not delete it …

I have the message ““
404 Page Not Found
The page you requested was not found.
”” "

I redo an update just in case?


Can't Delete an Invoice or a line Item
Page not found delete page
1.5.6 - Cannot Create Invoice
#2

Same having redone the update …

I notice in fact that all the drop-down menus on the top banner do not work anymore …

I emptied the browser cache.


#3

If it helps


#4

image

I lost links to create invoices and quotes :cry:


#5

Hello @TechInfo,

You didn’t loose the links. The links weren’t there. It’s working with jQuery.

I didn’t checked the last updates of invoiceplane, but try to use CTRL+F5 (force refresh) in your browser and then try again to delete the invoice.

The bug it’s still there?


#6

Strangely, this morning without doing an action, the drop-down menus and links to create a new invoice and quote have returned to OK.

I emptied the cache again but I still can not delete the product line from the invoice (and not the invoice).

I will test on a new bill.


#7

I can’t create a new bill…
"The app seems stuck due to an error."
But it’s not a log out of the account because I can close the error and do something else.

I can create a new user but I can not delete it => "404 Page Not Found
The page you requested was not found. " with the “Delete” button in the customer card directly.

But I can delete it from the drop-down menu right here /clients/status/active


#8

Same thing here after upgrade to 1.5.6.

Delete line item on invoice = 404 error
Delete invoice = 404 error


#9

It is correct, that some actions throw a 404 error because the way items are deleted changed 180° in version 1.5.6.
Please post the exact location where deletion is throwing a 404 error.

Corresponding ticket: https://development.invoiceplane.com/browse/IP-649

Edit
Technical Background: URLs like /index.php/invoices/delete/115 will never work again as simple HTTP GET requests. This is a security feature. Invoices can now only be deleted if it’s a POST request that also contains the CSRF token.


#10

This for an item : /index.php/invoices/delete_item/115/450
For an invoice : /index.php/invoices/delete/115

I hope is what you want


#11

Same here: After update v1.5.4 -> v1.5.6:

/invoices/delete_item/415/1541 -> 404 Page Not Found
/invoices/delete/415 -> 404 Page Not Found

It’s the same with quotes:
/quotes/delete_item/41/392 -> 404 Page Not Found
/quotes/delete/41 -> 404 Page Not Found

Thx!


#12

@TechInfo @cpu4you If you get this error from anywhere in the application please give me the location where you pressed the delete button. Posting the URL will not help.


#13

Here


InvoicePlane 1.5.6 released
#14

@TechInfo: We can 100% confirm your posting!


#15

Naamloos

Same

URL

https://payments.xx.nl/index.php/invoices/view/12#delete-invoice


#16

Can Confirm as well, I had the same issue with 1.5.6, downgraded back to 1.5.4 via backups without issue.