User tests: Successful: Unsuccessful:
Ongoing effort to phase out getInstance code. This pr deprecates Document::getInstance
.
I'm splitting #16918 into different pr's to be easier to review.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_finder Installation Libraries |
Status | Pending | ⇒ | Information Required |
Browsing around should be fine. It is more, merge by review.
I have tested this item
Browsed around in Front- and Backend, can't find Error-Message or similar.
Status | Information Required | ⇒ | Pending |
I have tested this item
Review
Status | Pending | ⇒ | Ready to Commit |
RTC
Oops, @Quy please remove RTC
And test this by installing a fresh patch. Not by patchtester.
@franz-wohlkoenig
Error 0 Call to a member function get() on null
Status | Ready to Commit | ⇒ | Pending |
I have tested this item
Where do you get that error? Does it not happen without the patch?
System information
Linux
I'v just opened the page and it worked. Try to download it from here https://github.com/Digital-Peak/joomla-cms/archive/j4/deprecate/document/instance.zip. Not sure why it fails on your server. Enable debug in your configuration.php file, what is the stack trace?
Labels |
Added:
?
|
Good catch, forgot to add () on the installer application. Try again please, should be fixed now.
Thanks
I have tested this item
OK so by implication of what this PR does there's no longer the ability to create more than one Document instance of a given type. Currently any different config signature would form a new document instance because we serialise the attributes https://github.com/Digital-Peak/joomla-cms/blob/73885b4b51a6705719909e4621431c7a97b8cdd9/libraries/src/Document/Document.php#L327
this is probably fine - but can anyone think of any use cases in the system where we exploit this?
Also has anyone tested the non-html views for this - the contact ecard, the xml and feed views etc?
VCard worked
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-16 23:02:55 |
Closed_By | ⇒ | wilsonge |
how can this be tested? By "browse around in the Front- and Backend"?
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18901.