The fuel feed, the vent and the vapour recovery system all run under the tank. Before repairing, identify what the broken valve does: the same shape doesn't mean the same function.
What is known from experience
Broken-off plastic fittings and attempts to glue them in or replace them with a car valve have been described. These accounts don't confirm compatibility in flow direction, pressure or protection in a fall.
How to tell the causes apart
On a cold bike, inspect the assembly and hoses against the diagram. Rule out strain after refitting the tank. Damage on the intake side can cause an air leak, and a venting fault can cause fuel delivery problems. Removing the whole system doesn't identify which part was faulty.
Checking the result
After the repair, check the sealing, routing and that there's no smell or leak. Don't glue up a random fitting or leave a loose fuel hose near the exhaust. A rollover valve shouldn't be replaced with any one-way valve just because it lets air through in one direction.