valnet / valuenetwork

Resource Planning and Value Accounting for Value Networks
http://mikorizal.org
GNU Affero General Public License v3.0
99 stars 25 forks source link

Exchange shows previous list of suppliers #499

Open fosterlynn opened 8 years ago

fosterlynn commented 8 years ago

We observed that the list of suppliers for an Expense depends on the Project chosen before. We tried the 3D Printer project and the Renovations Montreal lab project.

sqykly commented 6 years ago

Which template and view are you using when this happens? Seems like this must be due to some state attached to the user if it follows you from project to project, unless the suppliers are rendered statically on a template that can switch projects. That means we are looking at cookies, user objects, sessions (not sure this is used), the context agent, or local storage.

What happens if you pick a third project? Do you get suppliers for the first project or the second?

fosterlynn commented 6 years ago

Sorry, I have no memory of this. It is also possible that Exchange was re-written after this, I don't remember the dates. (We were not very good at closing issues sometimes.) But to test it, probably you could go to Supply, then Create Exchange.

No cookies... in fact I'm not sure what we have that could cause this...