Skip to content

Suppliers.php silently fails to delete a supplier #945

Description

@dalers

I cloned a part and then created a supplier without first checking to see if the supplier existed, and of course immediately afterwards wanted to delete the (redundant) supplier. Clicking Delete Supplier on the [Modify Or Delete Supplier Details] page does not give a notification or error message that the supplier was not deleted but the supplier was in fact not deleted.

Part A - no message that the item was not deleted.
Part B - the item was not deleted

  • Apache 2 with PHP 8.4 on Windows 10 WSL Ubuntu
  • weberp/config.php:
    • error_reporting(-1);
    • $Debug = 2; // Detailed debug information will be shown. Recommended for development environments
    • logging is enabled in [Setup > System] with severity level set to All (although the log only lists the INFORMATION message delete warning).
Image Image

It's as if Deleting did nothing.

Image

And the supplier still exists

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions